*AddPrim()

Adds a primitive to a collision set's primitive list.

Syntax

*AddPrim (list, "label")

Application

HyperView

Inputs

list
The primitive list. Options include A or B.
"label"
The label of the primitive.

Context

*BeginCollisionSet()

Example

*BeginCollisionSet("CollisionSet1")
	*AddPrim(A, "body::green_car")
	*AddPrim(A, "body::blue_car")
	*AddPrim(B, "body::orange_car")
	*Visible(On)	
	*Proximity(10.000000)
	*HighlightMode(BY_ELEMENT)
	*AnimationEvent(IGNORE_COLLISION)
	*ProximityRGB(1.000000, 1.000000, 0.000000)
	*IntersectRGB(1.000000, 0.000000, 0.000000)
*EndCollisionSet()