Questions on BoneAnimation class

i have 2 questions on how to obtain 2 variables in the BoneAnimation class.


  1. There's an array called "keyFrameTime" which i assume contains the starting time of each keyframe. how do i calculate this?

    i first thought it should be 1/number of key frames. but i checked the man_walk collada animation included in the source package, the number of key frames is 30, but the difference between each frame is not 1/30 and the last keyFrameTime value is not 1.


  2. does the interpolationRate equal to 1/frameRate of the animation?



    many thx~ :smiley:

i just found that the keyFrameTime is actually stored in the collada file…sry i missed that earlier.



then how do i calculate this for a md5 file?