1 decade ago by Griegs
I have a maze type of level and I need to spawn entities randomly on the map.
However, I don't want them spawned in a collision state with the collision layer/
Is there a way for me to pick a random X and Y position and to check to see whether that square, beginning at the random x and y combo, will cause a collision with the collision layer?
However, I don't want them spawned in a collision state with the collision layer/
Is there a way for me to pick a random X and Y position and to check to see whether that square, beginning at the random x and y combo, will cause a collision with the collision layer?