- Home /
how to stop the player from shaking? 3d endless runner
am working on a endless runner 3d game and the player seems to shake !!
so I notes the problem is that in the rotate the player to where is he going, but I cant figure it out where exactly the mistake here.
note it shake most of thr time not all the time.
and this is the code for rotating to where going
Vector3 dir = controller.velocity; if (dir != Vector3.zero) { dir.y = 0; transform.forward = Vector3.Lerp(transform.forward, dir, turn_Speed); }
Your answer

Follow this Question
Related Questions
MMD How to export model and animations to Unity as 3rd person controller? 2 Answers
[Unity Issue] CharacterController falls through rotating platform 1 Answer
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Controlling an asteroid using a rigidbody. 1 Answer
Player Controller Rotation Script Help 2 Answers