Anim8or Community
General Category => ASL Scripts => Topic started by: gabuti on February 13, 2010, 02:36:22 am
-
Hi
Each time I make a turn in a bone anim8or do "floatkey { 0 -1.8333 -4.3962 4.3962 "S" }" on the .an8. I want to know what means the parameters and how is the ralation or formula to the angle of turn.
Thank
Gabuti
-
I found something in the .an8 format specification (http://www.anim8or.com/resources/an8_format.txt) (which is a little outdated though).
The first number is the frame number. The following 3 numbers define the value of the keyframe (I believe it is a rotation defined by Euler angles in this case) and the last parameter defines the behavior of the keyframe. The .an8 specification says the last parameter "is currently ignored", but this is not true any more. I think it defines the kind of the keyframe: smooth, corner or step (as described in the manual (http://www.anim8or.com/manual/8_animation.html#editing_keys))
However, you can't access bones in the current version of ASL...
-
Thank Kubajzz, I will make a complete research and will tell the results.
Gabuti
-
I make a little reseach abou with the following results:
first parameter is frame number
second is the angle from 0 to 360; negative number means bone turn like a clock with no sign in the opposite way.
four and five I use 0 0 without any problem
now every thing work fine
Gabuti