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
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...