Character shakes when I press left or right button

I’m trying to make top down game. When I press move left or right the character shakes. This happens even if there are no other objects. The problem may be in the centering of the camera. Without centering, there is no shaking. But I need to center the camera on the character.

Hi,
here are some suggestion how to possibly fix that

1 Like

Make sure you update the position of the character first, and then centre the camera on it.

1 Like

Thanks. That work for me

1 Like