game_raycast
Cast a ray from a start point to an end point and receive collision results, solving hit detection and line-of-sight queries.
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 |