3D Lingo Dictionary > O-S > resolve |
![]() ![]() ![]() |
resolve
Syntax
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
This 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
![]() ![]() ![]() |