- Home /
Question by
vikingallday1 · Aug 19, 2017 at 04:16 PM ·
c#collisionmovementjittering
Player is jittery when it collides with wall (C# 3D)
Every time my player hits a BoxCollider, he starts to make jittery movement if I keep on pushing him into the collider. The colliders overlap with each other, then the wall pushes the player away and the process repeats. I have tried making the walls Kinematic. Here is my code to move the player:
transform.Translate (speed * Input.GetAxis ("Horizontal") * Time.deltaTime, 0f, speed * Input.GetAxis("Vertical") * Time.deltaTime);
Comment
Your answer
Follow this Question
Related Questions
Making a bubble level (not a game but work tool) 1 Answer
Reacting to terrain height changes without a rigidbody component 0 Answers
Collision for a block maze script C# 3 Answers
Box goes through walls 2 Answers
Basic collision not working - c# 1 Answer