Game Development Community

Move in aim position

by Robert Stewart · in Torque Game Engine · 03/08/2005 (2:50 pm) · 2 replies

Ok im trying to get my guy to move infront of himself, so what ever way he is looking, he will move. The camera is not part of him, they are seperated. I cant think of any way to do this, but it should be simple. Example is a Space sim.

#1
03/08/2005 (3:01 pm)
Get the facing vector of the camera associated with the player, and when he moves, move him in that direction...
#2
03/08/2005 (3:34 pm)
How would i move him in that direction? also the camera is seperated from player, so it might be better if i get the facing vector of the unit.