- Home /
Question by
Caul · Jun 02, 2015 at 10:38 AM ·
collision detectioncollision2dcollision event
OnCollisionExit2D workaround?
So I have two GameObjects that check if they collide and if so begin to fight. When one "dies" I want to dissable its collider so that the living object no longer runs into it. I've found out that OnCollisionExit2D won't be triggered for the "living" object if the other object is destroyed or it has its collider disabled. Any tips on a workaround to this?
Comment
Your answer
Follow this Question
Related Questions
Disable collision before collision actually happens 1 Answer
OnColliderEnter2D not working 2 Answers
Two Different Box Colliders Aren't Colliding 1 Answer
Last collision 1 Answer
Unity2D: How to make my player not walk through walls? 1 Answer