Hi there! I have a problem that I dont know how to solve. I've created in my game a spawn area in which there are different objects appearing randomly. My problem is that some times the objects appear really close each others and sometimes they overlap too.
I tried to solve it putting a collision shape to the objects that I'm instancing, but I dont know that didn't work (using the apropiate nodes types). I think that maybe using a function like "is_colliding" or something like that I can make that the object moves until it is not colliding with other object, but there are not a function called like that (I tried all the different physics objects).
Also the problem is that when they appear (when they are instancied) using signals it dont detect the collision because it is already inside the shape. (Sorry for my english jaja it is not very well).
Can someone help me? Thanks!