defold-orthographic icon indicating copy to clipboard operation
defold-orthographic copied to clipboard

Camera jitters if you follow an object that moves in the fixed_update function

Open Fossean1 opened this issue 1 year ago • 1 comments
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.

Fossean1 avatar Mar 21 '24 06:03 Fossean1

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?

britzl avatar Apr 08 '24 05:04 britzl