Created
July 12, 2017 23:45
-
-
Save omikun/3de95a45de0098a6407dc8fcfc62506d to your computer and use it in GitHub Desktop.
How to stop jittering objects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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