BML Body Element
From smartbody
BML <body> Element
The following BML behavior documentation covers the limited implementation found in SmartBody BML.
#postureBody Posture
Examples:
<act>
<bml>
<body posture="HandsAtSide"/>
</bml>
</act>
Assigns the pose HandsAtSide.skp as the body posture when poses from the path [1] are loaded (as [2] does).
<act>
<bml>
<body posture="HandsAtSide_Motex"/>
</bml>
</act>
Assigns the motex (i.e., motion texture) HandsAtSide_Motex.skm as the body posture when animations from the path [3] are loaded (as [4] does).
The value of the posture attribute is the base filename of the motion or pose (i.e., without the period or extension). The motion or pose must be previously loaded via the load command. If the value is a motion, the motion is treated as a motion texture and it is looped indefinitely. In the case where a pose and a motion share the same name, the poses are currently searched first.
Currently, all postures are persistent until another posture is requested. In the future, we believe the posture should only be persistent if neither relax nor end sync points are specified in the behavior.
Testing Motions as Motex Animations
Motex animations only differ from normal animations in content, not file type or format. As such, it can often be useful to load an animation as a motex instead of triggering it directly when testing playback in SBM. Loading the file as motex will loop the animation repeatedly and will not distort the animation with blend curves. However, other behaviors may still layer over the animation.
