User Guide

positionReset 931
Example
The following statement displays the parent-relative position of the model named Tire.
put member("scene").model("Tire").transform.position
-- vector(-15.000, -2.5000, 20.0000)
The following statement displays the world-relative position of the model named Tire.
put member("scene").model("Tire").getWorldTransform().position
-- vector(5.0000, -2.5000, -10.0000)
The following statements first store the world transform of the model named Tire in the variable
tempTransform, then they display the position component of that transform.
tempTransform = member("scene").model("Tire").getWorldTransform()
put tempTransform.position
-- vector(5.0000, -2.5000, -10.0000)
See also
transform (property), getWorldTransform(), rotation (transform), scale
(transform)
positionReset
Usage
member(whichCastmember).model(whichModel).bonesPlayer.\
positionReset
member(whichCastmember).model(whichModel).keyframePlayer.\
positionReset
Description
3D keyframePlayer and bonesPlayer modifier property; indicates whether the model returns
to its starting position after the end of a motion (
TRUE) or not (FALSE).
The default value for this property is
TRUE.
Example
This statement prevents the model Monster from returning to its original position when it
finishes the execution of a motion:
member("NewAlien").model("Monster").keyframePlayer.\
positionReset = FALSE
See also
currentLoopState