L
L
LittleBob2021-12-15 21:07:56
Unity
LittleBob, 2021-12-15 21:07:56

How to ignore certain colliders?

My game has a bunch of ants with an active collider. I need to make sure that the colliders of the ants do not interact with each other. Does not work through the layer matrix, through Physics2D.IgnoreLayer (Somehow) too. How can this problem be solved?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
reLse, 2021-12-17
@reLse

Hey! Disable collision of conflicting layers in Project settings > Physics

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question