Sweep, Sphere, All
Returns a list of prim paths of all colliders that are hit by the input sweep.
Installation
To use this Node, you must enable omni.physx.graph
in the Extension Manager.
Inputs
Name |
Type |
Description |
Default |
---|---|---|---|
execIn |
|
Input execution |
|
Origin (origin) |
|
Ray origin |
|
Direction (direction) |
|
Ray direction vector |
|
Radius (radius) |
|
Sphere radius |
|
Distance (sweepRange) |
|
Sweep distance. Use negative for infinite. If omitted, infinity is used. |
|
Both Sides (bothSides) |
|
Sets whether backfaces of colliders should be included in checks. |
False |
Sort By Distance (sortByDistance) |
|
Enable to sort outputs by distance. |
False |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
execOut |
|
Output execution |
|
Collider Prim Paths (colliderPrimPaths) |
|
A list of paths of the collider prims that are hit by the input sweep. |
|
Body Prim Paths (bodyPrimPaths) |
|
A list of paths of the associated body prims for the collider prims that are hit by the input sweep. |
|
positions |
|
A list of positions of the points hit. |
|
normals |
|
A list of surface normals of the points hit. |
|
Hit Distances (distances) |
|
A list of distances from the origin to the points hit. |
|
faceIndexes |
|
A list of the face indexes of the points hit. |
|
materialPaths |
|
A list of paths of the materials at the points hit. |