create_spline_placement_blueprint
Creates a Blueprint that automatically distributes static mesh instances along a spline, using configurable spacing for precise placement in levels.
Instructions
Create a Blueprint that places Static Mesh instances along a Spline component.
From Ch. 19: Creates BP_SplinePlacement with:
Spline component (editable in Level Editor by dragging spline points)
Instanced Static Mesh component
CalculateNumberOfInstances macro (GetSplineLength / SpaceBetweenInstances)
Construction Script that iterates along the spline, placing instances at each distance interval using GetLocationAtDistanceAlongSpline + GetRotationAtDistanceAlongSpline
Args: name: Blueprint name static_mesh_path: Default Static Mesh asset path for instances default_space_between_instances: Distance between instances along the spline folder_path: Content browser folder
KB: see knowledge_base/10_WORLD_BUILDING.md#overview Example: create_spline_placement_blueprint()
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | BP_SplinePlacement | |
| folder_path | No | /Game/Blueprints | |
| static_mesh_path | No | /Engine/BasicShapes/Arrow | |
| default_space_between_instances | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |