OmniGraph Node omni.physx.graph.SceneQuerySweepSphereAny

omni.physx.graph.SceneQuerySweepSphereAny Properties

Name

Value

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

Omni PhysX Scene Queries

__exclusions

python,tests

Generated Class Name

OgnPhysXSceneQuerySweepSphereAnyDatabase

Python Module

omni.physxgraph

omni.physx.graph.SceneQuerySweepSphereAny Description

Returns whether any colliders are hit by the input ray.

omni.physx.graph.SceneQuerySweepSphereAny Inputs

Name

Type

Default

Required?

Descripton

inputs:bothSides

bool

False

Y

Sets whether backfaces of colliders should be included in checks.

uiName

Both sides

__default

false

inputs:direction

[‘vectord[3]’, ‘vectorf[3]’]

None

Y

Ray direction vector

uiName

Direction

inputs:execIn

execution

None

Y

Input execution

inputs:origin

[‘pointd[3]’, ‘pointf[3]’]

None

Y

Ray origin

uiName

Origin

inputs:radius

[‘double’, ‘float’]

None

Y

Sphere radius

uiName

Radius

inputs:sweepRange

[‘double’, ‘float’]

None

Y

Sweep range. Use negative for infinite. If omitted, infinity is used.

uiName

Range

omni.physx.graph.SceneQuerySweepSphereAny 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 ray.