Animation Modifiers - MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual

Table of Contents

Advertisement

Property
.collision.
whichModel
resolve
.collision.
whichModel
immovable
Collision modifier commands
Use this command to work with the collision modifier:
Command
.collision.
whichModel
setCollisionCallback
(
#handlerName, scriptObjectName
Collision modifier events
These events are generated when collisions occur:
Event Name
#collideAny
#collideWith

Animation modifiers

Once you've created animations in your modeling software, you apply animation modifiers to
models to play them back in Director.
Director supports both model keyframe and character bone animations, and modifiers are
available to enable both. Keyframe animations modify a model's
Bones animations modify the model's geometry over time. Creating bones animation in a 3D
modeling application can be complex, but it results in more natural-looking movements.
502
Chapter 19
Access
Description
TRUE (1)
Get and set
whether collisions are automatically resolved.
If the value is
model has the
and has
models will be moved back to the position of
their original contact.
TRUE (1)
Get and set
whether the model can be moved. If a model
cannot be moved, the 3D Xtra can save time
by not checking it for collisions with other
models that also have their
property set to
Description
collision.enabled
If
(1)
, this command registers the Lingo script
)
instance to receive an event when a collision
occurs. If
FALSE (0)
when a collision occurs depends on the value
assigned to the
override this value by using the
collisionData.resolveA()
collisionData.resolveB()
commands.
collisionData
The
second argument passed to
in the specified script object
scriptObjectName
Description
The first event called when any collision occurs.
The event called whenever a collision with a specified model occurs. It is implicitly
setCollisionCallback()
registered for when
FALSE (0)
or
value indicating
TRUE (1)
and if the other
collision
modifier applied
enabled
TRUE (1)
set to
FALSE (0)
or
value indicating
immovable
TRUE
.
TRUE
is set to
collision.enabled
is set to
, no event occurs. What happens
resolve
property. You can
or
object will be the
#handlerName
.
is called.
transform
Default
TRUE (1)
, the
FALSE (0)
Returns
Nothing
properties over time.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director mx

Table of Contents