OmniGraph Node omni.physx.graph.SceneQuerySweepSphereAll

omni.physx.graph.SceneQuerySweepSphereAll 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, All

__tokens

{}

__categories

Omni PhysX Scene Queries

__exclusions

python,tests

Generated Class Name

OgnPhysXSceneQuerySweepSphereAllDatabase

Python Module

omni.physxgraph

omni.physx.graph.SceneQuerySweepSphereAll Description

Returns a list of prim paths of all colliders that are hit by the input ray.

omni.physx.graph.SceneQuerySweepSphereAll 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:sortByDistance

bool

False

Y

Enable to sort outputs by distance.

uiName

Sort by distance

__default

false

inputs:sweepRange

[‘double’, ‘float’]

None

Y

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

uiName

Range

omni.physx.graph.SceneQuerySweepSphereAll Outputs

Name

Type

Default

Required?

Descripton

outputs:bodyPrimPaths

token[]

None

Y

A list of paths of the associated body prims for the collider prims that are hit by the input ray.

outputs:colliderPrimPaths

token[]

None

Y

A list of paths of the collider prims that are hit by the input ray.

uiName

Collider Prim paths

outputs:distances

float[]

None

Y

A list of distances from the origin to the points hit.

outputs:execOut

execution

None

Y

Output execution

outputs:faceIndexes

int[]

None

Y

A list of the face indexes of the points hit.

outputs:materialPaths

token[]

None

Y

A list of paths of the materials at the points hit.

outputs:normals

normalf[3][]

None

Y

A list of surface normals of the points hit.

outputs:positions

pointf[3][]

None

Y

A list of positions of the points hit.