The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

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 (513 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 (12,878 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 Frequently asked questions and 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 [email protected] with your username.