Re: Follow the waypoint without looking at it -
04-07-2004
Create a vector that will be the movement direction (i.e. a vector from the current bot's location to his desired destination).
Convert this vector to a set of angles and use the YAW angle to find the sine and cosine of it.
The sine and cosine can be used in the pfnRunPlayerMove as the forward speed and the side speed arguments.
botman
|