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...
Discuss issues specific to the Flash/AS3 port of Box2D
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests