add_spline_component
Attach a USplineComponent to an Unreal Engine actor and optionally set local-space points. Use it to give actors a spline path in the editor world.
Instructions
Adds a USplineComponent instance to a named editor-world actor. NewObject + RegisterComponent + AddInstanceComponent + attach to root + CreationMethod=Instance. If points are given, clears the default points and adds each in local space.
Returns: { actor_name: string, component_name: string, component_class: string, num_points: int, added: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | No | Optional [[x, y, z], ...] spline points in local space | |
| actor_name | Yes | Display label or internal name of the target editor-world actor |