A question about SRotationKey
Posted: Fri Aug 30, 2019 4:09 pm
Hello.
I'm trying to implement my own animating system by getting all rotation keys and then setting proper rotation to a joint.
However I'm stuck at the first step. I just can't get all existing keys. Now, the model is fully keyed, meaning that for each frame there is a keyframe. But whenever I try to get SRotationKey there are different keys numbers for each joint. What the heck? Now I've checked this: http://irrlicht.sourceforge.net/docu/st ... n_key.html
and it seems that "frame" is what I need to get but... it doesn't really work as it supposed to.
So the question is: what exactly is "frame" here and why do I get different keys numbers for different joint when there are keys for each frame? And what do I need to do to get what I need? (All of the rotations for each frame for each joint).
I'm trying to implement my own animating system by getting all rotation keys and then setting proper rotation to a joint.
However I'm stuck at the first step. I just can't get all existing keys. Now, the model is fully keyed, meaning that for each frame there is a keyframe. But whenever I try to get SRotationKey there are different keys numbers for each joint. What the heck? Now I've checked this: http://irrlicht.sourceforge.net/docu/st ... n_key.html
and it seems that "frame" is what I need to get but... it doesn't really work as it supposed to.
So the question is: what exactly is "frame" here and why do I get different keys numbers for different joint when there are keys for each frame? And what do I need to do to get what I need? (All of the rotations for each frame for each joint).