add_spline_mesh_component
Add a spline mesh component to a Blueprint to deform a static mesh between two points, creating curved pipes, rails, and fences.
Instructions
Add a Spline Mesh component to deform a Static Mesh along a two-point spline.
From Ch. 19: The Spline Mesh component deforms a Static Mesh between two control points. Use SetStartAndEnd in the Construction Script to define the shape. Perfect for creating curved pipes, rails, fences, etc.
Args: blueprint_name: Blueprint to add the component to component_name: Component name static_mesh_path: Static Mesh asset to deform start_pos: Start point world position end_pos: End point world position
KB: see knowledge_base/10_WORLD_BUILDING.md#overview Example: add_spline_mesh_component(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_pos | No | ||
| start_pos | No | ||
| blueprint_name | Yes | ||
| component_name | No | SplineMesh | |
| static_mesh_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |