Raycast, Any#

Returns whether any colliders are hit by the input ray.

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]']

Ray direction vector

None

Exec In (inputs:execIn)

execution

Input execution

None

Origin (inputs:origin)

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

Ray origin

None

Distance (inputs:raycastRange)

['double', 'float']

Raycast 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 ray.

None

Metadata#

Name

Value

Unique ID

omni.physx.graph.SceneQueryRaycastAny

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

Raycast, Any

__tokens

{}

Categories

PhysX Scene Queries

Generated Class Name

OgnPhysXSceneQueryRaycastAnyDatabase

Python Module

omni.physxgraph