HyperWorks Desktop

*AddPrim()

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

*AddPrim()

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

Previous topic Next topic No expanding text in this topic  

*AddPrim()

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

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*AddPrim(list, "label")

Arguments

Names

Description

 

list

The primitive list.  Options include A or B.

 

"label"

The label of the primitive.

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()

Application

HyperView.

Context

*BeginCollisionSet()

See also

 

*AnimationEvent()

*BeginCollisionSet()

*EndCollisionSet()

*HighlightMode()

*IntersectRGB()

*Proximity()

*ProximityRGB()

*Visible()

List of Session Statements