OmniGraph Node On Contact Event

Properties

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

__exclusions

python,tests

Generated Class Name

OgnPhysXOnContactEventBasicDatabase

Python Module

omni.physxgraph

Description

PhysX contact event triggered execution.

Inputs

Name

Type

Default

Required?

Descripton

inputs:bodyPaths

token[]

None

Body prim paths to check against.

uiName

Body Paths

literalOnly

1

inputs:targetBodies

bundle

None

Body prims to check against.

uiName

Body Prims

literalOnly

1

Outputs

Name

Type

Default

Required?

Descripton

outputs:contactingBody

token

None

Y

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

uiName

Contacting Body

outputs:foundExecOut

execution

None

Y

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.

outputs:inputBody

token

None

Y

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

uiName

Input Body

outputs:lostExecOut

execution

None

Y

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.

outputs:persistsExecOut

execution

None

Y

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.