*BeginCollision()

Indicates the beginning of a collision block.

Syntax

*BeginCollision (label, state)

Application

HyperView

Inputs

label
The label of the collision set.
state
On
Displays the collision.
Off
Hides the collision.

Example

*BeginCollision("Collision Set 1", "On")
     *AddGroup("Group A")
           *BeginSelection(Part, SelectVisible)
                *Add("Part id 3-4")
                *Add("Part id 6")
           *EndSelection()
     *AddGroup("Group B")
           *BeginSelection(Part, SelectVisible)
                *Add("Part id 2-3")
                *Add("Part id 7")
          *EndSelection()
           *ProximityChecking("Off", 1)
           *ResultBinding("Part")
           *AnimationStopEvent("none")
*EndCollision()

Comments

This block captures your selections from the Collision panel in HyperView.

This command was previously called *BeginCollisionSet().