how to prevent objects from being placed where an object already is?
I need help figuring out how to prevent objects from being placed (randomly) were an object has already been placed. I tried the + solution but it isn’t giving me my desired results
Impossible in a single step only with the Random function.
A simple way would be:
Condition: No conditions (always)
Actions: Create Object at Random(range x); Random(range y)
While: Object collides with Obstacle
Do = Random(range x); Random(range y) to the position of Object
EDIT: Fixed, I hope it behaves as I expect…
EDIT 2: Warning, it can generate an infinite loop (or a very long one) if there are low or no possibilities to found a space not colliding with an Obstacle.