Need help with jittery objects, following the first person tutorial.

Simon Ahnfeldt Nielsen 2 years ago updated 2 years ago 2


I'm new to this. I've followed the First Person Controller tutorial and I've run into a problem.

Whenever I move and rotate the camera, at the same time, all object starts to "jitter". This does not happen when I stand still and rotate or run while looking straight ahead.

Here's what I mean: 

and here's how how my flow chart and gameobject hierarchy looks like:

I realize it's probably because of the rotation being in an "On update".. Maybe not? I don't know..
What's the proper way to fix this so everything looks smooth, even if you rotate while walking around?

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
.NET 4.x

Hi Simon,

That kind of problem usually stems from the timing discrepancies when mixing Update and Fixed Update. Try changing the Update in your second graph screenshot to Fixed Update and see if that solves the issue.

It doesn't. From the information I've gathered so far, it's caused because the camera is a child of the parent in the hierarchy. So a script to move the camera to the same position as the player, would probably solve it. But I have no idea how to go about this. I've given up trying to make this work haha, going to try with some other tutorials and see if I can learn enough to be able to fix this one day.