Sweep, Sphere, Any#

Returns whether any colliders 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)

bool

Sets whether backfaces of colliders should be included in checks.

False

Direction (inputs:direction)

['vectord[3]', 'vectorf[3]']

Sweep direction vector

None

Exec In (inputs:execIn)

execution

Input execution

None

Origin (inputs:origin)

['pointd[3]', 'pointf[3]']

Sweep origin

None

Radius (inputs:radius)

['double', 'float']

Sphere radius

None

Distance (inputs:sweepRange)

['double', 'float']

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

None

Outputs#

Name

Type

Descripton

Default

Exec Out (outputs:execOut)

execution

Output execution

None

Hit (outputs:hit)

bool

Returns true if any colliders are hit by the input sweep.

None

Metadata#

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

Generated Class Name

OgnPhysXSceneQuerySweepSphereAnyDatabase

Python Module

omni.physxgraph