Game Development Community

Player movement direction vector

by Casey Weidner · in Torque Game Engine · 10/04/2004 (8:10 pm) · 2 replies

Hi every one!

Does any one know off hand if there is a vector for the players movement direction and where in the source its at?? thanks every one


Casey

#1
10/06/2004 (10:04 am)
If memory serves (sorry don't have time to look it up for sure, IGC madness here), the Player class has a member variable called mVelocity which accurately tracks the player's movement direction and speed.
#2
10/06/2004 (10:27 am)
Great ! i'll look into that some more i thought i looked threw there but maybe i didnt notice it

thanks