On Trigger#

Emits an event when a collider enters or leaves the volume of a Trigger.

Installation#

To use this node enable omni.physx.graph in the Extension Manager.

Inputs#

Name

Type

Descripton

Default

Listen To All Triggers (inputs:listenToAllTriggers)

bool

If True the node will trigger whenever a trigger events happens, ignoring the list of provided paths in “Triggers Relationships” and “Triggers Paths”

None

Metadata

literalOnly = 1

Triggers Paths (inputs:triggersPaths)

token[]

Specify one or more paths to Prims with applied TriggerAPI to monitor their trigger events

None

Metadata

literalOnly = 1

Triggers Relationships (inputs:triggersRelationships)

target

Specify one or more Prims with an applied TriggerAPI to monitor their trigger events

None

Metadata

literalOnly = 1

Metadata

allowMultiInputs = 1

Outputs#

Name

Type

Descripton

Default

Enter Exec Out (outputs:enterExecOut)

execution

Output execution when enter event is emitted

None

Leave Exec Out (outputs:leaveExecOut)

execution

Output execution when leave event is emitted

None

Other Body (outputs:otherBody)

token

Path of Body containing the Collider Prim that has entered the volume of the Collider Prim marked as trigger. It will not be updated if none of the two execution pins are wired.

None

Other Collider (outputs:otherCollider)

token

Path of the Collider Prim that has entered the volume of the Collider Prim marked as trigger. It will not be updated if none of the two execution pins are wired.

None

Trigger Body (outputs:triggerBody)

token

Path of Body containing Collider Prim that has emitted the trigger event. It will not be updated if none of the two execution pins are wired.

None

Trigger Collider (outputs:triggerCollider)

token

Path of Collider Prim containing the TriggerAPI that has emitted the trigger event. It will not be updated if none of the two execution pins are wired.

None

Metadata#

Name

Value

Unique ID

omni.physx.graph.OnTriggerCollider

Version

1

Extension

omni.physx.graph

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

python, tests

tags

physics,physx,simulation,collision,trigger

uiName

On Trigger

__tokens

{}

Categories

PhysX Triggers

Generated Class Name

OgnPhysXOnTriggerColliderDatabase

Python Module

omni.physxgraph