OmniGraph Node omni.physx.graph.SceneQueryRaycastAny

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

Raycast, Any

__tokens

{}

__categories

Omni PhysX Scene Queries

__exclusions

python,tests

Generated Class Name

OgnPhysXSceneQueryRaycastAnyDatabase

Python Module

omni.physxgraph

omni.physx.graph.SceneQueryRaycastAny Description

Returns whether any colliders are hit by the input ray.

omni.physx.graph.SceneQueryRaycastAny 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:raycastRange

[‘double’, ‘float’]

None

Y

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

uiName

Range

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