Skip to content

Instantly share code, notes, and snippets.

@omikun
Created July 12, 2017 23:45
Show Gist options
  • Save omikun/3de95a45de0098a6407dc8fcfc62506d to your computer and use it in GitHub Desktop.
Save omikun/3de95a45de0098a6407dc8fcfc62506d to your computer and use it in GitHub Desktop.
How to stop jittering objects
//http://answers.unity3d.com/questions/353132/smoothdamp-causes-jitters.html
body.interpolation = RigidbodyInterpolation.Interpolate;
don't parent target to camera that follows it, especially if target or camera is physics driven
if target is physics drive, use fixedUpdate on camera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment