Impact Interaction System API
Impact.Triggers.IImpactTrigger Interface Reference

Interface for built-in Impact Trigger components. You can use this interface if you want to get all Impact Trigger components attached to an object. More...

Inheritance diagram for Impact.Triggers.IImpactTrigger:
Impact.Triggers.ImpactTriggerBase< TCollision, TContact > Impact.Triggers.ImpactCollisionTriggerBase< TCollision, TContact > Impact.Triggers.ImpactSlideAndRollTriggerBase< TCollision, TContact > Impact.Triggers.ImpactSpeculativeCollisionTriggerBase< TCollision, TContact >

Properties

bool Enabled [get, set]
 Should this trigger process any collisions? You should use this instead of the normal enabled property because collision messages are still sent to disabled components. More...
 
ImpactObjectBase MainTarget [get, set]
 The ImpactObjectBase this trigger will use for interaction calculations. More...
 
bool UseMaterialComposition [get, set]
 Should this trigger use the material composition of the objects it hits? If true, interaction data will be sent for each material at the interaction point. If false, interaction data will only be sent for the primary material at the interaction point. More...
 
ImpactTriggerContactMode ContactMode [get, set]
 How collision contacts should be handled. More...
 
bool HighPriority [get, set]
 Should this trigger ignore the Physics Interactions Limit set in the Impact Manager? More...
 

Detailed Description

Interface for built-in Impact Trigger components. You can use this interface if you want to get all Impact Trigger components attached to an object.

Property Documentation

◆ ContactMode

ImpactTriggerContactMode Impact.Triggers.IImpactTrigger.ContactMode
getset

How collision contacts should be handled.

Implemented in Impact.Triggers.ImpactTriggerBase< TCollision, TContact >.

◆ Enabled

bool Impact.Triggers.IImpactTrigger.Enabled
getset

Should this trigger process any collisions? You should use this instead of the normal enabled property because collision messages are still sent to disabled components.

Implemented in Impact.Triggers.ImpactTriggerBase< TCollision, TContact >.

◆ HighPriority

bool Impact.Triggers.IImpactTrigger.HighPriority
getset

Should this trigger ignore the Physics Interactions Limit set in the Impact Manager?

Implemented in Impact.Triggers.ImpactTriggerBase< TCollision, TContact >.

◆ MainTarget

ImpactObjectBase Impact.Triggers.IImpactTrigger.MainTarget
getset

The ImpactObjectBase this trigger will use for interaction calculations.

Implemented in Impact.Triggers.ImpactTriggerBase< TCollision, TContact >.

◆ UseMaterialComposition

bool Impact.Triggers.IImpactTrigger.UseMaterialComposition
getset

Should this trigger use the material composition of the objects it hits? If true, interaction data will be sent for each material at the interaction point. If false, interaction data will only be sent for the primary material at the interaction point.

Implemented in Impact.Triggers.ImpactTriggerBase< TCollision, TContact >.