Each BML command specifies a behavior that a character will perform.
Behavior | Example | BML Command |
---|---|---|
Gaze | look at the object called 'table' | <gaze target="table"/> |
Locomotion | move to location (10, 75) | <locomotion target="10 75"/> |
Head Movement | nod your head | <head type="NOD"/> |
Idle | assume an idle posture called 'idling_motion1' | <body posture="idling_motion1'/> |
Animation | play an animation called 'dosomething' | <animation name="dosomething"/> |
Gesture | point at character1 | <gesture type="POINT" target="character1"/> |
Reach | Grab the object 'cup' | <sbm:reach target="cup"/> |
Constraint | Constraint your hand to 'ball' | <sbm:constraint target="ball"/> |
Face | Raise your eyebrows | <face type="FACS" au="1" side="both" amount="1"/> |
Speech | Say 'hello, how are you?' | <speech type="text/plain">hello how are you?</speech> |
Eye saccade | Move your eyes around automatically | <saccade mode="LISTEN"/> |
Event | Send 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:.