*HighlightMode()

Sets the highlight mode when a violation occurs.

Syntax

*HighlightMode (type)

Application

HyperView

Inputs

type
BY_PART
Highlights the entire part.
BY_ELEMENT
Highlights only the violating elements.

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

Comments

The value is zero only for collisions.