SmartBody : Quick BML Reference for SmartBody

Each BML command specifies a behavior that a character will perform.

Behavior

ExampleBML Command
Gazelook at the object called 'table'
<gaze target="table"/>
Locomotionmove to location (10, 75)
<locomotion target="10 75"/>
Head Movementnod your head
<head type="NOD"/>
Idleassume an idle posture called 'idling_motion1'
<body posture="idling_motion1'/>
Animationplay an animation called 'dosomething'
<animation name="dosomething"/>
Gesturepoint at character1
<gesture type="POINT" target="character1"/>
ReachGrab the object 'cup'
<sbm:reach target="cup"/>
ConstraintConstraint your hand to 'ball'
<sbm:constraint target="ball"/>
FaceRaise your eyebrows
<face type="FACS" au="1" side="both" amount="1"/>
SpeechSay 'hello, how are you?'
<speech type="text/plain">hello how are you?</speech>
Eye saccadeMove your eyes around automatically
<saccade mode="LISTEN"/>
EventSend out an event 3 seconds in the future
<sbm:event stroke="3" message="sbm echo hello"/>

In general, BML commands that are not part of the original BML Vienna Specification and are specific to SmartBody use the prefix sbm:.