game_raycast
Cast a ray from a start to an end point, detect collisions, and retrieve collision results including hit location and object.
Instructions
Cast a ray and return collision results
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End point {x,y} or {x,y,z} | |
| from | Yes | Start point {x,y} or {x,y,z} | |
| collisionMask | No | Collision mask. Default: 0xFFFFFFFF |