Ground Transform not working...
by Chan Chi Kit · in Artist Corner · 04/12/2006 (9:31 am) · 2 replies
I have some questions and post to "Getting Start" Forum before, but no body replied... So, I post it here to see anyone would help me... thanks ~
I have read some posts about changing player run animation speed based on its movement speed, most of the post said that the animation dsq file should include ground transform when exporting dsq file.
However, when I want to export my dsq file, only "Ignore Ground Transform" box found in Ground Transform setting, I am sure that I did not select the box when I export the "run" dsq (only Transform Animation enabled in Export Control). Then I open ShowTool Pro and check its sequence info, here is the data:
Name: run
T: Y
R: Y
S: N
Cycle: Yes
Blend: No
IFL: No
Vis: No
Frm: No
MFrm: No
Trigs: No
Pri: 0
Keys: 10
Time: 0.07
FPS: 14.29
GndFrm: 0 <--- Ground Transform???
Then, the player's run animation speed did not change according to its movement speed.
I tried once more and enabled transform animation in "Force" export control this time. I open ShowTool Pro again and check sequence info, GndFrm is 14 now. But it did not solve my problem in game engine... the player runs at constant animation speed...
Anything that I missed in exporting dsq...? Should I add sk0 & ski1 to my model? Should I add triggers to my sequence...? Don't understand what's wrong to my run animation......
Please help ~ Thanks !!!
I have read some posts about changing player run animation speed based on its movement speed, most of the post said that the animation dsq file should include ground transform when exporting dsq file.
However, when I want to export my dsq file, only "Ignore Ground Transform" box found in Ground Transform setting, I am sure that I did not select the box when I export the "run" dsq (only Transform Animation enabled in Export Control). Then I open ShowTool Pro and check its sequence info, here is the data:
Name: run
T: Y
R: Y
S: N
Cycle: Yes
Blend: No
IFL: No
Vis: No
Frm: No
MFrm: No
Trigs: No
Pri: 0
Keys: 10
Time: 0.07
FPS: 14.29
GndFrm: 0 <--- Ground Transform???
Then, the player's run animation speed did not change according to its movement speed.
I tried once more and enabled transform animation in "Force" export control this time. I open ShowTool Pro again and check sequence info, GndFrm is 14 now. But it did not solve my problem in game engine... the player runs at constant animation speed...
Anything that I missed in exporting dsq...? Should I add sk0 & ski1 to my model? Should I add triggers to my sequence...? Don't understand what's wrong to my run animation......
Please help ~ Thanks !!!
#2
So how exactly does my animation not export with a ground transform? Well silly little things like turning off "export ground transform" in the options comes to mind. I have seen instances where sequences that don't start at or near 0 (and say frame 100) throw the exporter off. As well as there not being any model geometry at the bounds pivot. So give that a try and worse comes to worse export again and see what it gives you :)
Logan
04/15/2006 (8:12 pm)
A ground transform is used by the engine to know if your sequence is actually supposed to be in contact with the ground or not so that it knows the difference between say a run look and a fall sequence. When a sequence is exported with a "ground transform" the engine will play things like the footpuff emitters, footprint decals and sounds for the players feet. As such, depending on what you are trying to do with your sequence you may or may not actually need the ground transform there or not.So how exactly does my animation not export with a ground transform? Well silly little things like turning off "export ground transform" in the options comes to mind. I have seen instances where sequences that don't start at or near 0 (and say frame 100) throw the exporter off. As well as there not being any model geometry at the bounds pivot. So give that a try and worse comes to worse export again and see what it gives you :)
Logan
Torque Owner Matthew Jones
If your not using it already.
Also for run speed I think they are set in the code or script somwhere and not in the model but since thats not my department I really couldn't swear by it.
Where did you find a reference to ground transforms and player speeds? I have never heard that one before. But I don't discount it.
Let me know.
Matt