add_spline_mesh_component
Adds a spline mesh component to an Unreal Engine editor-world actor and assigns a static mesh. Sets start and end points to deform the mesh along that path.
Instructions
Adds a USplineMeshComponent instance to a named editor-world actor. NewObject + SetStaticMesh + RegisterComponent + AddInstanceComponent + attach to root + CreationMethod=Instance, then SetStartAndEnd to deform the mesh straight from start to end (tangent = end - start).
Returns: { actor_name: string, component_name: string, component_class: string, static_mesh_path: string, mesh_set: bool, start: [number, number, number], end: [number, number, number], added: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Optional [x, y, z] end point; defaults to (100,0,0) | |
| start | No | Optional [x, y, z] start point; defaults to (0,0,0) | |
| actor_name | Yes | Display label or internal name of the target editor-world actor | |
| static_mesh_path | Yes | /Game or /Engine path to the static mesh to deform |