- Home /
Weird bounching with Rigidbodies (2D)
So I have this very weird bug where when I walk into an enemy, the player and the object will be propelled away from each other very slowly. They only stop when they hit another object. When the player collides with the wall this doesn't happen, maybe because the wall is locked. Here is the movement code
cur_speed = new Vector3(Input.GetAxis("Horizontal"), Input.GetAxis("Vertical"), 0.0f);
transform.Translate(cur_speed * runSpeed * Time.deltaTime, Space.World);
The player as well as the enemy rigidbody is locked on x,y,z rotation and z position
Your answer
Follow this Question
Related Questions
Why is there no Rigidbody2D.SweepTest() ? 1 Answer
Is there a rigidbody character controller 3rd person that can handel stairs (steps)? 1 Answer
Why does my player fly through my barrier? 2 Answers
Any way to ignore collision between rigidbodies and colliders/character controllers? 1 Answer
CharacterController and Normal rigidbody Box Collider Collision issues 0 Answers