Player Movement problem
by N.K. · in Torque Game Engine · 02/14/2009 (4:53 am) · 0 replies
Hi,
I wanted to know if there was some way to know if a certain position could be moved to by the player or not.
I thought of using the container ray casting or radius searching method discussed in a thread earlier but wouldn't that give me problems if a player is inside a building (interior instance) since the walls and floors would all return the id of the interior? That way I wouldn't know if there is a wall (or some other obstacle) at a certain position or a floor which can be moved to.
N.K.
I wanted to know if there was some way to know if a certain position could be moved to by the player or not.
I thought of using the container ray casting or radius searching method discussed in a thread earlier but wouldn't that give me problems if a player is inside a building (interior instance) since the walls and floors would all return the id of the interior? That way I wouldn't know if there is a wall (or some other obstacle) at a certain position or a floor which can be moved to.
N.K.
About the author