User Guide
956 Chapter 14: Properties
resolve
Usage
member(whichCastmember).model(whichModel).collision.resolve
Description
3D collision property; allows you to get or set whether collisions are resolved when two models
collide. If this property is set to
TRUE for both models involved in a collision, both models come
to a stop at the point of collision. If only one of the models has the
resolve property set to TRUE,
that model comes to a stop, and the model with the property not set, or set to
FALSE, continues to
move. The default value for this property is
TRUE.
Example
The following statement sets the resolve property of the collision modifier applied to the model
named Box to
TRUE. When the model named Box collides with another model that has the
#collision modifier attached, it will stop moving.
member("3d world").model("Box").collision.resolve = TRUE
See also
collisionData, collisionNormal, modelA, modelB, pointOfContact
resource
Usage
member(whichCastmember).model(whichModel).resource
Description
3D property; allows you to get or set the resource property that defines the geometry of the
referenced model resource. This property also allows access to the referenced model’s resource
object and its associated properties.
Example
The following statement sets the model resource used by the model named NewBox. It will now
have the same geometry as the model named box.
member("3d World").model("NewBox").resource = member\
("3d World").model("box").resource
This statement displays the resolution property of the model resource used by the model named
Cylinder.
put member("3d World").model("Cylinger").resource.resolution
-- 20