Answer the question
In order to leave comments, you need to log in
How to make colliders pass through each other?
One person with little experience in Unity3D is wondering how to make 2 2D colliders go through each other? The IgnoreCollision and IgnoreLayerCollision functions are known, but I am told that they only disable the execution of collision events for the selected colliders.
UPD. The 2 objects should not interact with each other, but should interact with other objects in the scene. They are supposed to become friend-to-friend triggers, but remain the same objects as before for all other objects.
Answer the question
In order to leave comments, you need to log in
Or in the physics settings (Physics / Physics2D) set the collision mask .
She is responsible for the collision of layers.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question