MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual page 503

Table of Contents

Advertisement

The two animation types can be combined. You might, for example, combine a "run in place"
bones animation with a "move around the room" keyframe animation.
Bones animations use the Bones player modifier. Keyframe animations use the Keyframe player
modifier. Most commands and properties are available to both players.
Motions: A 3D cast member contains a set of motions authored in your 3D modeling
application. For bones animation, each motion contains a list of tracks, and each track contains
the keyframes for a particular bone. A bone is a segment of the skeleton of a model. For
example, track 14 of the motion named
named
. These names are defined in the 3D modeling application.
RtKnee
Play list: The Bones player manages a queue of motions. The first motion in the play list is the
motion that is currently playing or paused. When that motion finishes playing, it's removed
from the play list and the next motion begins. Motions can be added with
bonesPlayerOrKeyframePlayer.play("run")
or
bonesPlayerOrKeyframePlayer.queue("motion")
Using the
command starts the motion immediately. The motion previously at the
play
beginning of the play list is halted unless
motion is added to the end of the play list. Motions are removed from the play list
automatically when they are complete, or you can remove them explicitly using
bonesPlayer.playNext()
Motion blending: If
motion using the
bonesPlayerOrKeyframePlayer.blendTime
long the blend should be. You can control this manually by setting
bonesPlayerOrKeyframePlayer.autoBlend
bonesPlayerOrKeyframePlayer.blendFactor
Motion mapping: You can create new motions by combining existing motions. For example, a
walking motion could be combined with a shooting motion to produce a walk-and-shoot
motion. This is available only with Bones player animations.
You can add the Keyframe player modifier at runtime to a model created in Director MX, but you
cannot add the Bones player modifier at runtime. The Bones player modifier is automatically
attached to models with bones animation exported from a 3D modeling application. Since the
required bones information can't be assigned in Director, it has to exist before the model
is imported into Director.
Run
autoBlend
.
is
, an ending motion blends smoothly into the next
autoblend
TRUE
could be named
RtKneeTrack
, which adds the motion to the top of the list,
, which adds it to the end of the list.
is turned on. When you use
property to determine how
to
and using
FALSE
to control the blend frame by frame.
Working with Models and Model Resources 503
and move a bone
, the
queue

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director mx

Table of Contents