OmniGraph Node Sweep, Sphere, Any
Properties
Name |
Value |
---|---|
Unique ID |
omni.physx.graph.SceneQuerySweepSphereAny |
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 |
Sweep, Sphere, Any |
__tokens |
{} |
__categories |
PhysX Scene Queries |
__exclusions |
python,tests |
Generated Class Name |
OgnPhysXSceneQuerySweepSphereAnyDatabase |
Python Module |
omni.physxgraph |
Description
Returns whether any colliders are hit by the input sweep.
Inputs
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:bothSides |
bool |
False |
Y |
Sets whether backfaces of colliders should be included in checks. |
uiName |
Both Sides |
|||
inputs:direction |
[‘vectord[3]’, ‘vectorf[3]’] |
None |
Y |
Sweep direction vector |
uiName |
Direction |
|||
inputs:execIn |
execution |
None |
Y |
Input execution |
inputs:origin |
[‘pointd[3]’, ‘pointf[3]’] |
None |
Y |
Sweep origin |
uiName |
Origin |
|||
inputs:radius |
[‘double’, ‘float’] |
None |
Y |
Sphere radius |
uiName |
Radius |
|||
inputs:sweepRange |
[‘double’, ‘float’] |
None |
Y |
Sweep distance. Use negative for infinite. If omitted, infinity is used. |
uiName |
Distance |
Outputs
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:execOut |
execution |
None |
Y |
Output execution |
outputs:hit |
bool |
None |
Y |
Returns true if any colliders are hit by the input sweep. |