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) |
|
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) |
|
Specify one or more paths to Prims with applied TriggerAPI to monitor their trigger events |
None |
Metadata |
literalOnly = 1 |
||
Triggers Relationships (inputs:triggersRelationships) |
|
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) |
|
Output execution when enter event is emitted |
None |
Leave Exec Out (outputs:leaveExecOut) |
|
Output execution when leave event is emitted |
None |
Other Body (outputs:otherBody) |
|
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) |
|
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) |
|
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) |
|
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 |