You can add the Keyframe player modifier at runtime to a model created in Director, 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.
Bones player methods
Use these methods to work with bones animations:
Method
whichModel.bonesPlayer.
play("name", looped, startTime,
endTime, playRate, timeOffset)
whichModel.bonesPlayer.
playNext()
whichModel.bonesPlayer.
queue("name", looped, startTime,
endTime, playRate, timeOffset)
whichModel.bonesPlayer.
removeLast()
whichModel.bonesPlayer.
pause()
Description
Plays the motion named
the time
, with the currently
timeOffset
playing motion being pushed down the
play list. If
is
looped
FALSE (0)
preceding motion begins again when
this motion completes.
can be an integer number of
StartTime
milliseconds, or it can be the symbol
. Use
#synchronized
#synchronized
start this new motion at the same
relative time offset to it's total duration
as the currently playing motion is to it's
total duration. The
playRate
indicates how fast to play the motion. A
value of 2 doubles the speed of the
motion. This value is multiplied by the
value of the
bonesPlayer.playRate
property.
If blending is enabled, blending begins
the instant
is called.
play()
Ends the currently playing motion,
removes it from the play list, and begins
the next motion.
if blending is enabled, blending begins
the instant
playNext()
Adds the specified motion to the end of
the play list. The parameters are same as
those for the
method.
play()
Removes the most recently added
motion from the play list. The motion will
be removed from the play list even if it is
also the currently playing motion.
Pauses the Bones player.
Returns
starting at
Nothing
name
, the
to
parameter
Nothing
is called.
Nothing
Nothing
Nothing
Animation modifiers
373
Need help?
Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?
Questions and answers