- Home /
How to enable the collision between two objects after using Physics2D.IgnoreCollision() ?
Hi, After using the Physics2D.IgnoreCollision() fonction, I've been trying to re enable the collision between the object but I can't find any solution. Is there any fonction that can do the opposite of Physics2D.IgnoreCollision() ? Thanks for your help :)
(Ps: Disable and Enable the collider rather than using Physics2D.IgnoreCollision() is not a good alternative in my case)
Answer by MattG54321 · Jul 24, 2017 at 03:02 PM
Physics2D.IgnoreCollision(Collider2d collider1, Collider2d collider2, false)
Your answer
Follow this Question
Related Questions
How to calculate angular velocity after a collision? 0 Answers
Colliders in a wall jut out 0 Answers
Inexact rebound when colliding into corner of two walls. 0 Answers
2D Physics and Jump-Through Platforms 2 Answers
How to make Two colliders, don't collide, but still be able of interact with each others 2 Answers