MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual page 370

Hide thumbs Also See for DIRECTOR MX 2004-USING DIRECTOR:
Table of Contents

Advertisement

Property
whichModel.sds.tension
whichModel.sds.error
Collision modifier properties
The collision modifier allows a model to be notified of and respond to collisions. You can access a
model's collision modifier properties using syntax such as
Detecting collisions and responding to collisions are separate tasks. If the
to
, and a script has been registered to be notified of collisions using the
TRUE
setCollisionCallback()
collision isn't resolved unless the
This separation is deliberate and valuable: it can be important for a collision to be registered. In a
game, for example, a projectile could strike a wall and the player's score could be increased. In that
same game, however, you might not want the projectile to bounce off the wall. In that case, you'd
set the
enabled
Collision notification can also be implemented by using
in addition to using the
Use these properties to work with the collision modifier:
Property
whichModel.collision.e
nabled
whichModel.collision.r
esolve
370
Chapter 16: Working with Models and Model Resources
Access
Get and set
Get and set
method, that script instance receives a callback. However, the
resolve
property to
and set the
TRUE
setCollisionCallback()
Access
Get and set
Get and set
Description
Percentage of matching between
modified and original surfaces.
Percentage of error tolerance. This
property applies only if sds.subdivision
equals
.
#adaptive
model.collision.
property is also set to
property to
resolve
registerScript()
technique.
Description
or
TRUE (1)
FALSE (0)
whether collisions between this model
and other models will trigger a collision
event.
or
TRUE (1)
FALSE (0)
whether collisions are automatically
resolved. If the value is
the other model has the
modifier applied and has
, the models will be moved back
TRUE (1)
to the position of their original contact.
Default
65
0.0
whichProperty
property is set
enabled
.
TRUE
.
FALSE
on a specific model
Default
value indicating
TRUE (1)
value indicating
TRUE (1)
and if
TRUE (1)
collision
set to
enabled
.

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents