raycast
Cast a ray in the workspace to detect collisions and retrieve hit information. Specify origin, direction, and filters to refine the search.
Instructions
Cast a ray in workspace and return hit information
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Ray origin point | |
| direction | Yes | Ray direction vector | |
| filterType | No | Filter type (default: Exclude) | Exclude |
| filterPaths | No | Optional: instance paths to include/exclude from raycast |