MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 929

Director scripting reference
Table of Contents

Advertisement

pointAtOrientation
Usage
member(whichCastmember).model(whichModel).pointAtOrientation
member(whichCastmember).group(whichGroup).pointAtOrientation
member(whichCastmember).light(whichLight).pointAtOrientation
member(whichCastmember).camera(whichCamera).pointAtOrientation
Description
3D model, light, group and camera property; allows you to get or set how the referenced object
responds to the
pointAt
first vector in the list defines which direction is considered the object's front direction, the second
defines which direction is considered the object's up direction.
The object's front and up directions do not need to be perpendicular to each other, but they
should not be parallel to each other.
Example
This statement displays the object-relative front direction and up direction vectors of the model
named bip01:
put member("scene").model("bip01").pointAtOrientation
-- [vector(0.0000, 0.0000, 1.0000), vector(0.0000, 1.0000, 0.0000)]
See also
pointAt
pointOfContact
Usage
collisionData.pointOfContact
Description
3D
collisionData
between two models.
The
collisionData
events to the handler specified in the
setCollisionCallback
The
#collideWith
which collision modifiers have been added. The
be set to
.
TRUE
This property can be tested but not set.
command. This property is a linear list of two object-relative vectors, the
property; returns a vector describing the point of contact in a collision
object is sent as an argument with the
registerForEvent, registerScript,
commands.
and
events are sent when a collision occurs between models to
#collideAny
#collideWith
property of the models' modifiers must
resolve
and
#collideAny
and
pointOfContact
929

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents