Gun Animation
by Howard Dortch · in Torque Game Engine · 11/16/2005 (10:15 am) · 2 replies
I created a gun with a recoil animation and it shows fine in showtool. When I mount it in game the animation does not play when I fire the gun. Any hints as to what could cause this?
#2
The animation is named "Fire" is this the spot I want to look into ?
11/16/2005 (10:51 am)
The names you refer to are in ShapeBaseImageData as stateName[3] = "Fire"; ?The animation is named "Fire" is this the spot I want to look into ?
Torque 3D Owner Adam
Adam deGrandis
If you are using stock Torque weapon code, Id suggest going through your animation marker names and making sure you didn't make any typos. If you aren't using stock code, make sure your weapon scripts are actually calling the animation you created in your weapons model file.
EDIT: clarification.