Weapon firing straight up!
by Chad Shepard · in Torque Game Engine · 10/22/2003 (7:47 pm) · 1 replies
Hey, guys. I'm kind of new, so I hope I'm not asking a question that's already been answered to death. Here goes:
I'm experimenting with changing out the player model; when I put in my new model, the weapon fires straight up instead of straight ahead. For 1st person mode, I can correct this by setting "correctMuzzleVector" to "true" in the weapon script, but the weapon still fires wrong in 3rd person mode. I am using the default crossbow. What am I doing wrong?
Thanx,
Chad
I'm experimenting with changing out the player model; when I put in my new model, the weapon fires straight up instead of straight ahead. For 1st person mode, I can correct this by setting "correctMuzzleVector" to "true" in the weapon script, but the weapon still fires wrong in 3rd person mode. I am using the default crossbow. What am I doing wrong?
Thanx,
Chad
About the author
Torque Owner Badguy
the direction you have the pivot facing is the direction it will fire..
if you consult the documentation regarding the export you will find the speak about this pivot point and which direction should be facing where for forward...
Sorry I cannot remember the details.