Welcome, Guest! Log In | Create Account

BML Animation Element

From smartbody

Jump to: navigation, search

BML Animation Element

The following BML behavior is non-standard and is only implemented in SmartBody BML.

Triggering an Animation

Example:

<?xml version="1.0" encoding="UTF-8"?>
<act>
  <bml>
    <sbm:animation name="HandsAtSide_RArm_GestureYou"/>
  </bml>
</act>

Triggers the motion HandsAtSide_RArm_GestureYou.skm from the path data/sbm-testdata/doctor/motion/ (as loaded by default-init.seq).


The value of the name attribute is the motion's base filename (i.e., without the period or extension). Motion files are loaded using the load motions command.

The XML element <animation> is deprecated, but processed exactly like <sbm:animation> to support BML written for older versions of SBM. This feature may be removed at any time.