0 votes

Hi All. in Godot 3.4, what is a way to smoothen the jitter in a 3d camera? I have a 240hz monitor and my physics runs at 60fps. If I move the camera movement code to _process() it sure does get smoother but all enemies and bullets start to look very jittery because their movements are inside physics process, for all the right reasons.
I tried doubling the physics FPS to 120 in settings and the game gets butter smooth (with minimal impact to performance) but I read that this would make the game nearly unplayable on 60hz monitors and/or older GPUs.
Is there a different tactic?

Godot version 3.4
in Engine by (431 points)

1 Answer

0 votes

Godot does not have built-in yet physics interpolation yet, so you have to use the smoothing-addon for now.

I tried doubling the physics FPS to 120 in settings and the game gets butter smooth (with minimal impact to performance) but I read that this would make the game nearly unplayable on 60hz monitors and/or older GPUs.

Using a multiple of the monitor refresh rate for the physics FPS doesn't look too bad, but it will increase the game's CPU requirements. Using greater physics FPS also reduces input lag and improves overall physics stability (especially with stacking RigidBodies), so it can sometimes be useful.

by (11,347 points)
edited by

Thanks. I did look up the smoothing plugin but I don't know how I could use it with the camera... Per docs, the plugin requires that I separate the visual representation (mesh) of a node from its rigid/kinematic body parent and it will interpolate that separately. A camera is not a body though...

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.