create_camera_rig_rail
Spawn an unrotated CameraRig_Rail actor in the Unreal Editor world, optionally at a chosen location with 2-100 spline points. Use the returned internal_name to position the rail later.
Instructions
Spawn an unrotated CameraRig_Rail actor in the editor world; with more than 2 points the rail is rebuilt as a straight 500-unit line along local X. Always labelled "CameraRigRail_MCP", so address it by the returned internal_name, e.g. in set_camera_rig_rail_position. Not saved.
Returns: { actor_name: string, internal_name: string, location: [number, number, number], num_spline_points: number, success: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | Optional [X, Y, Z] world location (defaults to origin; each axis within -100000 to 100000) | |
| num_spline_points | No | Number of spline points on the rail (optional, default 2, valid 2-100) |