Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by POLYGAMe · Feb 04, 2014 at 03:07 AM · physicsfpsstuttertimestep

How to fix extremely jerky movement on AI car?

Hi everyone,

I have a strange (maybe not so strange?) issue in which my AI car runs extremely jerkily unless I change Fixed Timestep to something as ridiculously low as 0.001. I can't work it out. I only have two cars with wheel colliders, physics updated in Fixed Update. The motion looks fine but when the AI car gets closer to the camera, it gets very stuttery, but just on that one car! Everything else is smooth, road movement, player car movement. I swapped the camera over, tested without the camera follow script, tried V-sync, nothing works!

I should add that this is a 3D behind the car view game.

I can't really interpolate the car's position, as I am using wheel colliders to propel it. Any ideas?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image POLYGAMe · Feb 04, 2014 at 03:12 AM 0
Share

I should add, if the camera is attached to the AI car, it's the player car that suffers from the jerky movement.

avatar image Invertex · Feb 04, 2014 at 03:21 AM 0
Share

What function are you using to move the cars? If you're using transform/position, that would be the problem...

avatar image POLYGAMe · Feb 04, 2014 at 05:06 AM 0
Share

No, as I said, I'm using wheel colliders. As in the answer, I solved it anyway. Brain fart. Lol

1 Reply

· Add your reply
  • Sort: 
avatar image
5
Best Answer

Answer by POLYGAMe · Feb 04, 2014 at 03:20 AM

Well, I feel like an idiot... "interpolate" in that little drop down menu fixed it right up. Sheesh!

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image WaqasHaiderDev · Jul 08, 2020 at 01:51 PM 0
Share

You saved my day! Thanks.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Fixing timestep to lower value showing wrong FPS 0 Answers

How to make my Character run through walls with the use of the Character Controller component 1 Answer

2D game with high FPS feels jittering/stuttering/laggy 2 Answers

FPS aim marker Question 0 Answers

Rockets bending around enemies? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges