game_raycast
game_raycastCast a ray from a start point to an end point and return collision results. Specify collision mask to filter objects.
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 |