Generate Geometry Contacts#
Returns a list of contact points.
Installation#
To use this node enable omni.physx.graph in the Extension Manager.
Inputs#
Name |
Type |
Descripton |
Default |
|---|---|---|---|
Contact Distance (inputs:contactDistance) |
|
Contact Distance. |
0.01 |
Exec In (inputs:execIn) |
|
Input execution |
None |
Mesh Contact Margin (inputs:meshContactMargin) |
|
Mesh Contact Margin. |
0.01 |
Overlaps Pair0 (inputs:overlapsPair0) |
|
Path of the first geometry from the Prims Bundle to check for contactwith corresponding item at same index in overlapsPair1 input attribute. |
[] |
Overlaps Pair1 (inputs:overlapsPair1) |
|
Path of the second geometry from the Prims Bundle to check for contactwith corresponding item at same index in overlapsPair0 input attribute |
[] |
Prims Bundle (inputs:primsBundle) |
|
The prims of interest. It must be a bundle with one or more prim children. Currently only meshes prim are supported (sourcePrimType == ‘Mesh’). From each Mesh prim child reads: - ‘sourecePrimPath’ - ‘sourcePrimType’ - ‘points’ - ‘faceVertexIndices’ - ‘faceVertexCounts’ - ‘worldMatrix’ - ‘sourcePrimPath’ (and optionally ‘holeIndices’, ‘orientation’, ‘meshKey’ and ‘physics:approximation’) attributes |
None |
Tolerance Length (inputs:toleranceLength) |
|
Tolerance Length. |
0.1 |
Outputs#
Name |
Type |
Descripton |
Default |
|---|---|---|---|
Contacts (outputs:contacts) |
|
Bundle of Child bundles containg contacts for each pair. Child Bundles are named prim0…primN that can be extracted with ‘Extract Prim’. Each child bundle has ‘points’, ‘normals’ and ‘depths’ attributes. |
None |
Exec Out (outputs:execOut) |
|
Output execution |
None |
Metadata#
Name |
Value |
|---|---|
Unique ID |
omni.physx.graph.ImmediateGenerateGeometryContacts |
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,contacts |
uiName |
Generate Geometry Contacts |
__tokens |
{} |
Categories |
PhysX Immediate Queries |
Generated Class Name |
OgnPhysXImmediateGenerateGeometryContactsDatabase |
Python Module |
omni.physxgraph |