Sweep, Sphere, All
Outputs the rigid bodies and colliders that are hit by the input sweep.
Installation
To use this node enable omni.physx.graph in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Both Sides (inputs:bothSides) |
|
Sets whether backfaces of colliders should be included in checks. |
False |
Direction (inputs:direction) |
|
Ray direction vector |
None |
Exec In (inputs:execIn) |
|
Input execution |
None |
Origin (inputs:origin) |
|
Ray origin |
None |
Radius (inputs:radius) |
|
Sphere radius |
None |
Sort By Distance (inputs:sortByDistance) |
|
Enable to sort outputs by distance. |
False |
Distance (inputs:sweepRange) |
|
Sweep distance. Use negative for infinite. If omitted, infinity is used. |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Body Prim Paths (deprecated) (outputs:bodyPrimPaths) |
|
A list of paths of the associated body prims for the collider prims that are hit by the sweep. Deprecated, please use the Body Prims output instead. |
None |
Body Prims (outputs:bodyPrims) |
|
A list of the associated body prims for the collider prims that are hit by the sweep. |
None |
Collider Prim Paths (deprecated) (outputs:colliderPrimPaths) |
|
A list of paths of the collider prims that are hit by the sweep. Deprecated, please use the Collider Prims output instead. |
None |
Collider Prims (outputs:colliderPrims) |
|
A list of collider prims that are hit by the sweep. |
None |
Hit Distances (outputs:distances) |
|
A list of distances from the origin to the points hit. |
None |
Exec Out (outputs:execOut) |
|
Output execution |
None |
Face Indexes (outputs:faceIndexes) |
|
A list of the face indexes of the points hit. |
None |
Material Paths (deprecated) (outputs:materialPaths) |
|
A list of paths of the physics materials at the points hit. Deprecated, please use the Material Prims output instead. |
None |
Material Prims (outputs:materialPrims) |
|
A list of physics material Prims at the points hit. |
None |
Normals (outputs:normals) |
|
A list of surface normals of the points hit. |
None |
Positions (outputs:positions) |
|
A list of positions of the points hit. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.physx.graph.SceneQuerySweepSphereAll |
Version |
2 |
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 |
Sweep, Sphere, All |
__tokens |
{} |
Categories |
PhysX Scene Queries |
Generated Class Name |
OgnPhysXSceneQuerySweepSphereAllDatabase |
Python Module |
omni.physxgraph |