T
T
tuxx2016-04-14 21:12:52
Unity
tuxx, 2016-04-14 21:12:52

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

1 answer(s)
S
Seryozha Pukhov, 2016-04-15
@tuxx

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 question

Ask a Question

731 491 924 answers to any question