add_sphere_trace_for_objects_node
Adds a sphere trace node to a Blueprint for sphere-shaped collision detection against specified object types. Configure radius, debug visualization, and graph position.
Instructions
Add a 'Sphere Trace For Objects' node - sphere-shaped collision test.
Ch.14: Shape traces test along a volume instead of a line. More expensive but detects wider areas. SphereTraceForObjects sweeps a sphere.
Args: blueprint_name: Blueprint name radius: Sphere radius in Unreal units (cm) object_types: Object types to detect draw_debug: Debug visualization type node_position: Optional [X, Y] graph position
KB: see knowledge_base/26_CHAOS_PHYSICS_AND_DESTRUCTION.md#overview Example: add_sphere_trace_for_objects_node(blueprint_name="/Game/MCP_Test/BP_Example")
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": {
"blueprint_name": "<blueprint_name>"
},
"name": "add_sphere_trace_for_objects_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| radius | No | ||
| draw_debug | No | None | |
| object_types | No | ||
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |