- Home /
Duplicate Question
https://answers.unity.com/questions/1562273/object-passes-through-collider-even-when-istrigger.html
Object passes through collider even when isTrigger is turned off.
I have a player that is moved using transform.translate. I want that player to not pass through an enemy. I have added Box Collider 2D and rigidbody2D to both the objects, set it to dynamic and toggled off the isTrigger button and freezed rotation in the z axis. But the player passes right through the enemy. What am I doing wrong? Thank you!
Follow this Question
Related Questions
2D Isometric Rigid Body Collision Resolution (collide and side) Not working 0 Answers
Object passes through collider even when isTrigger is turned off. 2 Answers
Sprites collision not working on high speeds 1 Answer
Rigidbody gets stuck in wall after falling 0 Answers
"Freeze Position" applied to an axis affects the bounciness of the object's collider on that axis. 0 Answers