Hi,
I wonder could anyone help me?
I'm trying to export to a text directx file and I can't figure out the structure of the animation keys.
Specifically the rotation key - the typical form is something like this:
AnimationKey {
0;
5;
0;4;0.999048,-0.043620,0.000000,0.000000;;,
1;4;0.999048,-0.043620,0.000000,0.000000;;,
20;4;0.999048,-0.043620,0.000000,0.000000;;,
50;4;0.719942,-0.636951,-0.206440,-0.182643;;,
70;4;0.999048,-0.043620,0.000000,0.000000;;;
}
Now the first line - fine
second line = type
third line=no of keys
the problem is with the actual data -
I know the first number is the frame no
and the second is the number of floats
then theres 4 floats to follow: where do I get the 4th from? I have Xangle# Yangle# and Zangle# which makes 3 but wheres the 4th come from? How do I fill this in?
Please help - it would be much appreciated.
Cheers