add_spline_component
Add a Spline component to a Blueprint to define a curved 3D path with editable points for instance placement.
Instructions
Add a Spline component to a Blueprint.
From Ch. 19: The Spline component defines a curved path in 3D space. Its points can be edited in the Level Editor (Add Spline Point Here, translate and rotate points). Used with GetLocationAtDistanceAlongSpline and GetRotationAtDistanceAlongSpline for instance placement.
Args: blueprint_name: Blueprint to add the Spline component to component_name: Component name num_points: Initial number of spline points (minimum 2)
KB: see knowledge_base/10_WORLD_BUILDING.md#overview Example: add_spline_component(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| num_points | No | ||
| blueprint_name | Yes | ||
| component_name | No | Spline |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |