Game Development Reference
In-Depth Information
How it works...
An animation in jMonkeyEngine consists of a number of
BoneTracks
. Each of these has
an array of floats with the times for the animations, an array of
Vector3f
with the posi-
tions of the bones, array of Quaternions with rotations, and another array of
Vector3f's
with scales. Each instance of the arrays contains information about a frame.
A subanimation is a copy of an excerpt from all the
BoneTracks
in the parent animation.