weapon animation
by Davide Archetti · in Torque Game Engine · 08/21/2002 (12:34 am) · 2 replies
Hi,
I have a question about how to see the animations binded with a weapon. I have a weapon shape (.dts) with animations and in show mode I can see the animations running, but in game, after the weapon is mounted on the player I don't see any animation, if present only the ambient animation runs. I have check the name of the sequence in the shapeImageData definition and they are right..
Any idea?
thanks
I have a question about how to see the animations binded with a weapon. I have a weapon shape (.dts) with animations and in show mode I can see the animations running, but in game, after the weapon is mounted on the player I don't see any animation, if present only the ambient animation runs. I have check the name of the sequence in the shapeImageData definition and they are right..
Any idea?
thanks
#2
Davide
08/24/2002 (1:47 am)
Thanks, I have tried again the whole process, from the generation of the DTS file, and I don't know why, but now it works correctly, but I haven't changed anything.Davide
Torque Owner Matthew Jones
For example I have a semiauto pistol. When you fire the the hammer pulls and the (lack of a better word) the "slide" goes back then forward to simulate a real weapon.
In my model I have DTS sequence helper called "fire". (I assume you got that covered)
Then in my code under StateName[3] I have a line:That tells the engine what sequence helper to find in the animation. I have similiar sequence animations for all the the different states that my weapon has that can be put in animation form.
Hope that helps.
Matt