Animation Triggers
by Emre Akpolat · in Artist Corner · 04/20/2009 (3:18 pm) · 3 replies
Hi everybody! I am making a walk cycle for my character and I need to place the required triggers to play the footstep sound. I am placing triggers in the sequences tab of the Torque node. And when I export, I see the frames with triggers are marked with white lines in ShowTool Pro. Though this does not make the sounds play. I guess it has something to do with the state parameter of the triggers. But I couldn't figure out how it works. Any help on this subject is greatly appreciated. Thanks for looking :)
About the author
#2
...I'll have to look into HD triggers deeper, not entirely certain; they 'should' be functioning as export.
'State' 2 = Right Foot Down
'State' 1 = Left Foot Down
You shouldn't need to turn them 'off' with the inverse value[-2,-1] of the 'State', the engine will do this automatically.
...if triggers are still not 'triggering' the Footpuff,step,print effects; you may need to give the 'walk' sequence some transform in the forward vector...usually the bounding box in the Scene is used as reference. If you're putting it in with ROP/exporter, you may need to go back and give some amount of vector motion to allow the effects to work.
I'm working thru this myself with a 'new' product we have planned. It's a small program that reads in DTS and DSQ files...and allows you to edit the DSQ files for Triggers, Ground Transforms, FPS, Priority, Cyclic features. We've got Ground Transforms working, Triggers working, but I was attempting to get a sequence without triggers to generate the Footxx effects. I can get my triggers parsed into the DSQ file, but the engine is not playing them at runtime.
My latest thoughts are that I need to edit the sequence to include some amount of Y vector motion. At present, the sequence in question contains ONLY Z motion values, so I'm not entirely 'surprised' there are no effects produced. My theory is that if I give some 'Y' positive motion to the DSQ file, my Footxx effects will render.
Hope this sheds a tiny bit of light thru the darkness!
05/11/2009 (6:48 am)
ShowToolPro[latest version] seems to produce the ERR in the parameter listing of the GUI, but these same triggered sequences work fine inside the 1.5x engine.......I'll have to look into HD triggers deeper, not entirely certain; they 'should' be functioning as export.
'State' 2 = Right Foot Down
'State' 1 = Left Foot Down
You shouldn't need to turn them 'off' with the inverse value[-2,-1] of the 'State', the engine will do this automatically.
...if triggers are still not 'triggering' the Footpuff,step,print effects; you may need to give the 'walk' sequence some transform in the forward vector...usually the bounding box in the Scene is used as reference. If you're putting it in with ROP/exporter, you may need to go back and give some amount of vector motion to allow the effects to work.
I'm working thru this myself with a 'new' product we have planned. It's a small program that reads in DTS and DSQ files...and allows you to edit the DSQ files for Triggers, Ground Transforms, FPS, Priority, Cyclic features. We've got Ground Transforms working, Triggers working, but I was attempting to get a sequence without triggers to generate the Footxx effects. I can get my triggers parsed into the DSQ file, but the engine is not playing them at runtime.
My latest thoughts are that I need to edit the sequence to include some amount of Y vector motion. At present, the sequence in question contains ONLY Z motion values, so I'm not entirely 'surprised' there are no effects produced. My theory is that if I give some 'Y' positive motion to the DSQ file, my Footxx effects will render.
Hope this sheds a tiny bit of light thru the darkness!
#3
06/06/2009 (1:38 pm)
Thanks a lot Rex, even though I still couldn't make it work you provided very useful information :)
Emre Akpolat
Another strange thing I found is this one:
-I load my .dts which does not contain animations
-I load my .dsq file for run animation: in the sequence info window the Trigs value appears as Err
-I load the same .dsq file again and the Trigs value Appears as Yes for this second animation which comes from the same .dsq file
We're very confused about this, any help is more than appreciated. Thanks for looking.