Adobe 65036570 - Director - PC User Manual page 373

User guide
Hide thumbs Also See for 65036570 - Director - PC:
Table of Contents

Advertisement

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
top of the list, or
bonesPlayerOrKeyframePlayer.queue("motion")
the
method starts the motion immediately. The motion previously at the beginning of the play list is halted
play
unless
is turned on. When you use
autoBlend
removed from the play list automatically when they are complete. You can remove them explicitly by using
bonesPlayer.playNext()
Motion blending: If
autoblend
bonesPlayerOrKeyframePlayer.blendTime
control this manually by setting
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, 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 the following methods to work with bones animations:
Method
whichModel.bonesPlayer.
play("name", looped, startTime,
endTime, playRate, timeOffset)
whichModel.bonesPlayer.
playNext()
bonesPlayerOrKeyframePlayer.play("run")
, the motion is added to the end of the play list. Motions are
queue
.
is
, an ending motion blends smoothly into the next motion using the
TRUE
property to determine how long the blend should be. You can
bonesPlayerOrKeyframePlayer.autoBlend
to control the blend frame by frame.
Description
Plays the motion named
time
timeOffset
motion being pushed down the play list. If
is
looped
FALSE (0)
begins again when this motion completes.
can be an integer number of milli-
StartTime
seconds, or it can be the symbol
#synchronized
this new motion at the same relative time offset
to its total duration as the currently playing
motion is to its total duration. The
parameter 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
If blending is enabled, blending begins the
instant
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()
, which adds it to the end of the list. Using
to
starting at the
name
, with the currently playing
, the preceding motion
. Use
to start
#synchronized
playRate
property.
is called.
is called.
ADOBE DIRECTOR 11.0
, which adds the motion to the
and using
FALSE
Returns
Nothing.
Nothing.
362
User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director 11

Table of Contents