What's New in Director 8.5 > Controlling the 3D World > Collisions > Collision commands |  |

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 `resolve` set to `TRUE`, you can manually resolve the collision using `resolveA(true)` for model A or `resolveB(true)` for model B.

Command | Description | Returns
--- | --- | ---
`collisionData.resolveA(``trueOrFalse``)` | Resolves collision for model A. | Nothing
`collisionData.resolveB(``trueOrFalse``)` | Resolves collision for model B. If the argument is `FALSE (0)`, the collision won't be resolved. This overrides the `collision.resolve` property, if any, set for model B. | Nothing