Shaking objects

If I am far from the starting point of the map and moving or rotating my object starts to shake. The further I move away, the more he shakes

This issue has nothing to do with scripts, collision or physics, I removed all components except camera and mesh objects

are you using time.deltatime or fixed delta time ???
this might be the issue

That’s how it is in many games and game engines when numbers get too large there’s imprecision which visually looks like shaking.

1 Like

Make sure your Camera movement is in LateUpdate.

I recommend reading that blog:

There’s no script, I moved by the inspector

There’s no script, I moved by the inspector

I am not 100% sure about that, but changing values inside the Inspector are updated inside the Update method.
But your camera movement should be executed inside the LateUpdate methode after all Update logic is finished. The reason is that we want to render the scene after everything stopped moving. Thats why its jittering, because the other values are still changing after your camera moved to its destination.

Try, instead moving by inspector, using a script. You could use a simple script which allows you to control your camera by your cursor. There should be enough videos about that.

1 Like