Weapon Fire Vector
by Derk Adams · in Torque Game Engine · 10/20/2004 (7:17 pm) · 2 replies
Greetings,
I am trying to find the area of code that sets up the weapon firing vector. I want it to use the head orientation (mHead) instead of the body rotation (mRot). Can anyone point me to the right area?
Thanks.
I am trying to find the area of code that sets up the weapon firing vector. I want it to use the head orientation (mHead) instead of the body rotation (mRot). Can anyone point me to the right area?
Thanks.
About the author
#2
Thanks. That got me started and led me to Player::getMuzzleTransform where I was able to make my update.
10/20/2004 (8:57 pm)
Westy,Thanks. That got me started and led me to Player::getMuzzleTransform where I was able to make my update.
Torque Owner Westy
edit:
Follow to ShapeBase::getCorrectedAim