remove_foliage_in_radius
Delete every instance of one foliage type inside a world-space sphere to carve building sites, roads, or clearings from existing vegetation without removing that type everywhere.
Instructions
Clear foliage around a point: delete every instance of one FoliageType inside a world-space sphere -- the way to carve a building site, road or clearing out of existing vegetation without wiping the whole type. Use remove_all_foliage_for_type to remove it everywhere instead. Preview what would go with get_foliage_in_radius first; the oracle is instances_removed plus a re-count.
Returns: { applied, instances_removed, requested_radius }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| radius | Yes | Radius in world units | |
| center_x | No | X component of the world-space center of the removal sphere | |
| center_y | No | Y component of the world-space center of the removal sphere | |
| center_z | No | Z component of the world-space center of the removal sphere | |
| foliage_type_path | Yes | Asset path of the UFoliageType to remove (matches against mesh on the type) |