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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| start_z | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |