Overlap 2 gameobject without using layers or ignorecollision
Good morning to all the community, I have the following doubt that affects my project, not to lengthen the subject, the summary, the gameobject is a soldier sprite in 2d with box coliider and rigidbody2d, they appear randomly, it is the case that appears very close to each other, what I want to do is that the new one that appears in this back (depth) of the older one, using layers does not help me because if you create 50 - 60 - 70 soldiers I can not create that many layers, the ignorecollision I tried it and the result is that they push themselves to be far from each other, any idea with which they can help me?
Thank you very much in advance.
Your answer
Follow this Question
Related Questions
My gravity seems slow, and don't know how to fix it 0 Answers
How can i make an AI jump in UNITY 2D Platform Game,Unity 2 AI chase Jumping 1 Answer
Null Refernce Error and Points duplicate 0 Answers
How do I play an audio clip when my character goes past a certain y level? 0 Answers
Turn off y velocity in 2d Platformer 0 Answers