Game Development Community

Turning Head to Look

by Derk Adams · in Torque Game Engine · 10/06/2004 (3:32 pm) · 4 replies

I have been unable to find a resource that describes turning the head to look. The default animations include the head turning left and right, but how do you activate it?

Also, are their issues with where the weapon is targeted if the head is not looking forward? I.e. would the weapon target from the chest direction or the head direction?

Thanks,
Derk

#1
10/06/2004 (6:27 pm)
This is same thing I'm trying to figure out...
#2
10/06/2004 (10:17 pm)
Hey Derk, this is pretty easy to get going, and you can make the weapon point whichever direction you want. I'm sorry I don't have time to reply in detail (It's almost midnight and I'm at the office working... IGC MADNESS! :)

Probably the easiest way is to make some changes to the C++ code; if my memory serves correctly, you'll want to check the code in Player's updateMove(), interpolate(), and updateLookAnimation() methods.
#3
11/15/2004 (12:54 pm)
Well, since no one else has done it, I decided to do it myself.

Once it is cleared, you can find the resource to do this at Do the Twist

Thanks.
#4
12/03/2004 (7:50 am)
Anyone have any Mac control issues with this?