ray_collision_with_mesh
Cast a ray against a single mesh body to retrieve all intersection points for collision detection and analysis.
Instructions
NEW May 2026: cast a ray against ONE MeshBody, return all intersection points. mesh_handle: handle of a mesh body (e.g. from find_mesh_using_ray or list_body_entities).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mesh_handle": "<mesh_handle>",
"origin_mm": "<origin_mm>",
"direction": "<direction>"
},
"name": "ray_collision_with_mesh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | Yes | ||
| origin_mm | Yes | ||
| mesh_handle | Yes |