Description
Characters can perform an idle motion, usually a repeatable animation that engages the entire body of the character that represents the subtle movements of the character while it is not performing any other behaviors.An idle behavior will repeatedly play a looped motion. Other behaviors will be layered on top of the idle motion, or replace it entirely. Subsequent calls to the idle behavior will override the old idle behavior and replace it with the new idle behavior.
Requirements
To run the <body> behavior, SmartBody needs motion files whose joint names match those on the character's skeleton.The character and the motion can be any topology and any number of joints. Data from a motion file that matches the joint names of a skeleton will be used, and any joint names that do not match will be ignored.
Motion files need are required to have metadata that indicates their blend-in, blend-out times.
Usage
<body posture="idlemotion1"/>
where idlemotion1 is the name of the motion to be played. Note that the idle motion will be played at a location and orientation in the world based on the character's offset.
Parameters
Parameter | Description | Example |
---|---|---|
start | starts the idle posture at a time in the future | <body posture="idlemotion1" start="3"/> |
ready | the time when the posture is fully blended. The total ramp-in time is (ready-start) | <body posture="idlemotion1" start="3" ready="5"/> |