editor_create_object
Generate and place new objects/actors in Unreal Engine with specified class, name, location, rotation, scale, and properties. Returns detailed actor data including final transform values.
Instructions
Create a new object/actor in the world
Example output: {'success': true, 'actor_name': 'StaticMeshActor_1', 'actor_label': 'MyCube', 'class': 'StaticMeshActor', 'location': {'x': 100.0, 'y': 200.0, 'z': 0.0}, 'rotation': {'pitch': 0.0, 'yaw': 45.0, 'roll': 0.0}, 'scale': {'x': 1.0, 'y': 1.0, 'z': 1.0}}
Returns created actor details with final transform values.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
location | No | World position coordinates | |
object_class | Yes | Unreal class name (e.g., 'StaticMeshActor', 'DirectionalLight') | |
object_name | Yes | Name/label for the created object | |
properties | No | Additional actor properties. For StaticMeshActor: use 'StaticMesh' for mesh path, 'Material' for single material path, or 'Materials' for array of material paths. Example: {"StaticMesh": "/Game/Meshes/Cube", "Material": "/Game/Materials/M_Basic"} | |
rotation | No | Rotation in degrees | |
scale | No | Scale multipliers |