mardi 18 juillet 2017

How to instantiate GameObject at random collision free position?

I am making a game in Unity. I am instantiating (circle) GameObjects on random positions and it works well. What I am trying to do is to instantiate only on positions where there will be no overlapping with other GameObjects. No solution that I have found on the internet solved my problem so what should i do? Is this possible?




Aucun commentaire:

Enregistrer un commentaire