#camera2d - Stuttering character effect when using position smoothing

1 messages · Page 1 of 1 (latest)

native walrus
#

You could try setting your camera2d's process callback to 'physics' instead of 'idle' if you haven't already - that might mitigate the worst of the problem (assuming your movement is handled in _physics_process). It might also not.

#

'Idle' is kind of a deceptive name for the default setting there.

#

You're basically choosing whether to update the camera during _process or _physics_process.

#

Physics is the setting for _physics_process, obviously, and idle... is the setting for _process.

#

Not super intuitive what you're choosing between at first glance.

#

But if you're moving your characters during physics_process, it's a good bet that moving the camera during physics process will help things stay in sync.