MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 964

Director scripting reference
Table of Contents

Advertisement

This example displays the parent-relative rotation of the model named Moon, then it adjusts the
model's orientation using the rotate command, and finally it displays the resulting world-relative
rotation of the model:
put member("SolarSys").model("Moon").transform.rotation
-- vector( 0.0000, 0.0000, 45.0000)
member("SolarSys").model("Moon").rotate(15,15,15)
put member("SolarSys").model("Moon").getWorldTransform().rotation
--vector( 51.3810, 16.5191, 65.8771 )
See also
getWorldTransform(), preRotate, rotate,
(transform),
rotationReset
Usage
member(whichCastmember).model(whichModel).bonesPlayer.rotationReset
member(whichCastmember).model(whichModel).keyframePlayer.\
rotationReset
Description
3D
keyframePlayer
rotational changes are maintained from the end of one motion to the beginning of the next, or
from the end of one iteration of a looped motion to the beginning of the next iteration.
Possible values of this property include
value is
.
#all
Example
This statement sets the
model maintains rotation around its z-axis when the currently playing motion or loop ends.
member("NewAlien").model("Monster").bonesPlayer.rotationReset = #z
See also
positionReset,
RTF
Usage
-- Lingo syntax
memberObjRef.RTF
// JavaScript syntax
memberObjRef.RTF;
Description
Cast member property; allows access to the text and tags that control the layout of the text within
a text cast member containing text in rich text format.
This property can be tested and set.
964
Chapter 14: Properties
scale (transform)
and
bonesPlayer
rotationReset
bonesPlayer (modifier)
transform
modifier property; indicates the axes around which
,
,
,
,
#none
#x
#y
#z
#xy
property of the model named Monster to the z-axis. The
(property),
position
,
,
, and
. The default
#yz
#xz
#all

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents