defold-orthographic
defold-orthographic copied to clipboard
Camera jitters if you follow an object that moves in the fixed_update function
trafficstars
I set up a camera that follows an object moving in fixed_update and found camera jittering. When I change the update function to fixed_update in the camera.script, the camera stops jittering.
It makes sense to use the same update function for the object you follow and the camera itself. I'm not sure if it is possible to come up with a universal solution for this that works in all cases. Any ideas?