Jump to content
Sign in to follow this  
roguetrooper

findEmptyPosition and angle of object

Recommended Posts

The command findEmptyPosition should consider the current angle (direction) of the object. Currently a rectangelish object can collide into another object that is already there very close. Seemingly the command only considers a standard angle of the object, since when you assign an (random or fixed != 0) angle to the object and then setpos it at random coordinates and then apply findEmptyPosition to it (to make sure it doesn't collide with something else), it nevertheless may collide in an unrealistically looking way with a nearby object (house, tree, editor objects etc).

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×