godot_cast_ray_3d
Cast a 3D ray between two points in Godot and retrieve collision data. Supports collision masks, node exclusion, and optional detection of areas or bodies.
Instructions
Perform 3D raycast query against PhysicsDirectSpaceState3D.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |