Hi,
When a player enters the game, I generate a random spawning position for him. How can I make sure this position does not collide with any other object in the world? If the position is not valid, I generate a new one and have to verify this one as well. This keeps going until a valid position has been found...
Thanks
When a player enters the game, I generate a random spawning position for him. How can I make sure this position does not collide with any other object in the world? If the position is not valid, I generate a new one and have to verify this one as well. This keeps going until a valid position has been found...
Thanks