V
Vignesh Krishnan
Guest
Hey guys, so I am using Create Instance to create an Enemy Instance. I've set the X to be chosen between the X co-ordinate of 8 different instances of a spawner object. I've done the same for Y.
Now the problem is, enemy instances are sometimes created inside the room since it chooses X and Y co-ordinates separately. Which causes some of the positions to be right in the middle of the room.
Is there any way to avoid instances being created inside the room?
Above is what I have used to create instances
The empty objects outside the room are the spawn locations whose X and Y co-ordinates I've set
Now the problem is, enemy instances are sometimes created inside the room since it chooses X and Y co-ordinates separately. Which causes some of the positions to be right in the middle of the room.
Is there any way to avoid instances being created inside the room?
Above is what I have used to create instances
The empty objects outside the room are the spawn locations whose X and Y co-ordinates I've set