MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual page 523

Table of Contents

Advertisement

Property
pointOf
Contact
collision
Normal
Collision commands
Collision commands allow you to override certain aspects of the default behavior set for models
during collisions. If neither of the models involved in the collision has
you can manually resolve the collision using
for model B.
Command
collisionData.resolv
eA
(
)
trueOrFalse
collisionData.resolv
eB
(
)
trueOrFalse
Selecting models
Selecting models (picking) refers to clicking on models in a 3D cast member. Because models are
objects that exist within a 3D cast member and a 3D sprite, they are not normally sensitive to
mouse clicks. Normally it is only the entire sprite that is sensitive to mouse clicks.
You can use Lingo to determine specifically which models have been clicked when a user clicks
within a 3D sprite. In practice, this allows for changing model positions to make it appear that an
action such as a button being pushed or a door being opened has taken place. Picking can be
accomplished using cast member or camera commands.
Access
Description
Get
Vector describing world-space location of collision. Available
only if the collision has been resolved. Occurs if the model's
collision modifier
collisionData resolveA()
resolveB()
Get
Vector indicating direction of collision. Available only if the
collision has been resolved. Occurs if the model's collision
modifier
collisionData resolveA()
resolveB()
resolveA(true)
Description
Resolves collision for model A.
Resolves collision for model B. If the argument is
(0)
, the collision won't be resolved. This overrides the
collision.resolve
resolve
property is
method is called.
resolve
TRUE (1)
property is
method is called.
resolve
for model A or
FALSE
property, if any, set for model B.
Controlling the 3D World 523
TRUE (1)
or either the
collisionData
or
or either the
collisionData
or
set to
,
TRUE
resolveB(true)
Returns
Nothing
Nothing

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Director mx

Table of Contents