Motion Note Lab

What's Happening

Version 3.0 of the Web Driver adds the ability to read motion notes that have been embedded in an Actor file using 3dsmax. These notes can be enumerated after the Actor is loaded, or you can check for them while the motion is playing. Motion notes detected during a character's playing motion can be used to control the timing of other procedures, such as creating projectiles at the correct moment during a character's "fire gun" animation. In the lab above, you can load the sample Actor file (gumby.wsad), view the Actor's motions and the motion notes embedded in the file, and play the motions to see the motion notes being read in real time. In the Web Driver window, the motion note name will flash red at the moment that it is retrieved, and will display in white afterwards. Additionally, you can set a sound to be played when the motion note is read. If you have a different Actor file for which you wish to view motion notes, you can enter the path to the Actor file in the Actor File textbox and load it within this lab.

Left drag within the scene to rotate the Actor, and right drag to zoom in and out.

Key Methods Used

WTActor::getNextMotionNote, WTActor::getMotionCount, WTActor::getMotionLength, WTActor::getMotionNoteCount, WTActor::getMotionNote, WTActor::getMotionNoteTime

Points to Remember