ue_ground_trace
Perform a vertical line trace at a world XY coordinate to detect the ground or surface, returning the hit point, normal, distance, and hit actor. Use to determine floor level before placing props.
Instructions
Line-trace straight down at world (x, y) to find the ground/surface. Returns the hit point, surface normal, distance, and which actor was hit. Use before placing props so you know where the floor is.
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": {
"x": "<x>",
"y": "<y>"
},
"name": "ue_ground_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| start_z | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |