Chapter 19
506
Bones player events
These events are generated by bones animations:
whichModel
.
bonesPlayer.
rotationReset
Get and set
Normally a model snaps back to its original
rotation after a motion finishes playing. This
property maintains any or all of the rotational
changes after playing is complete.
The values are as follows:
#none
#x
#y
#z
#xy
#xz
#all
#all
whichModel
.
bonesPlayer.
lockTranslation
Get and set
Defines the axis of translation to ignore when
playing back a motion.
The values are as follows:
#none
#x
#y
#z
#xy
#xz
#all
To keep a model locked to a ground plane
with the top pointing along the z-axis, set
lockTranslation
to
#z
.
lockTranslation
=
#all
is equivalent to
rootLock
=
TRUE (1)
.
#none
Event name
Description
#animation
Started
This is a system-defined notification event triggered when a motion begins playing. If
looping is on, this event is triggered only by the first playthrough. During a blend of two
animations, this event is triggered as the blend begins.
#animation
Ended
This is a system-defined notification event triggered when a motion ends. If looping is
on, this event is triggered only by the first playthrough. If blending is on, this event is
generated for the first animation when the blend is complete. There may be
some latency because of the overhead of scheduling all other Director events.
Property
Access
Description
Default
Summary of Contents for DIRECTOR MX-USING DIRECTOR MX
Page 1: ...Using Director MX Macromedia Director MX...
Page 12: ...Contents 12...
Page 156: ...Chapter 4 156...
Page 202: ...Chapter 6 202...
Page 244: ...Chapter 7 244...
Page 292: ...Chapter 10 292...
Page 330: ...Chapter 12 330...
Page 356: ...Chapter 13 356...
Page 372: ...Chapter 14 372...
Page 442: ...Chapter 16 442...
Page 472: ...Chapter 18 472...
Page 520: ...Chapter 19 520...
Page 536: ...Chapter 20 536...
Page 562: ...Chapter 23 562...
Page 566: ...Chapter 24 566...
Page 602: ...Chapter 27 602...