On Contact Event

PhysX contact event triggered execution.

Installation

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

Inputs

Name

Type

Descripton

Default

Body Paths (inputs:bodyPaths)

token[]

Body prim paths to check against.

None

Metadata

literalOnly = 1

Body Prims (inputs:targetBodies)

target

Body prims to check against.

None

Metadata

literalOnly = 1

Metadata

allowMultiInputs = 1

Outputs

Name

Type

Descripton

Default

Contacting Body (outputs:contactingBody)

token

Path of the physics body that came in contact with a node input body to trigger the contact event.

None

Found Exec Out (outputs:foundExecOut)

execution

Output execution trigger for contact found events. Note that the node only evaluates and triggers for contact events where one of the bodies have the Contact Report API applied.

None

Input Body (outputs:inputBody)

token

Path of the node input physics body that triggered the contact event.

None

Lost Exec Out (outputs:lostExecOut)

execution

Output execution trigger for contact lost events. Note that the node only evaluates and triggers for contact events where one of the bodies have the Contact Report API applied.

None

Persists Exec Out (outputs:persistsExecOut)

execution

Output execution trigger for contact persists events. Note that the node only evaluates and triggers for contact events where one of the bodies have the Contact Report API applied.

None

Metadata

Name

Value

Unique ID

omni.physx.graph.OnContactEventBasic

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

uiName

On Contact Event

__tokens

{}

Categories

PhysX Contacts

Generated Class Name

OgnPhysXOnContactEventBasicDatabase

Python Module

omni.physxgraph