*AnimationEvent()

Sets the animation action to be performed on a violation.

Syntax

*AnimationEvent (type)

Application

HyperView

Inputs

type
STOP_PROXIMITY
Animation stops on a proximity violation.
STOP_INTERSECT
Animation stops on an intersect violation.
IGNORE_COLLISION
Animation does not stop on any violations.

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