Player Eye Vector?
by Dylan Sale · in Torque Game Engine · 02/12/2003 (6:14 am) · 2 replies
How do I set the pitch of the players first person view? I need this for lock on code. I get the target position and find the angle from the current position of the player, but I cant seem to make the player look up (or down) at the target.
I tried setting mHead.x to the pitch value... but that didnt work.
Any ideas?
Thanks to those who can help.
I tried setting mHead.x to the pitch value... but that didnt work.
Any ideas?
Thanks to those who can help.
About the author
#2
02/13/2003 (4:02 am)
yeah.. the thing is that the move->pitch increases the pitch by that amount, i need to specify the EXACT pitch...
Torque Owner Max Robinson