editor_create_object
Generate and place objects or actors within the Unreal Engine world. Specify class, name, location, rotation, scale, and properties to create custom assets directly in the scene.
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 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"location": {
"additionalProperties": false,
"description": "World position coordinates",
"properties": {
"x": {
"default": 0,
"type": "number"
},
"y": {
"default": 0,
"type": "number"
},
"z": {
"default": 0,
"type": "number"
}
},
"type": "object"
},
"object_class": {
"description": "Unreal class name (e.g., 'StaticMeshActor', 'DirectionalLight')",
"type": "string"
},
"object_name": {
"description": "Name/label for the created object",
"type": "string"
},
"properties": {
"additionalProperties": {},
"description": "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\"}",
"type": "object"
},
"rotation": {
"additionalProperties": false,
"description": "Rotation in degrees",
"properties": {
"pitch": {
"default": 0,
"type": "number"
},
"roll": {
"default": 0,
"type": "number"
},
"yaw": {
"default": 0,
"type": "number"
}
},
"type": "object"
},
"scale": {
"additionalProperties": false,
"description": "Scale multipliers",
"properties": {
"x": {
"default": 1,
"type": "number"
},
"y": {
"default": 1,
"type": "number"
},
"z": {
"default": 1,
"type": "number"
}
},
"type": "object"
}
},
"required": [
"object_class",
"object_name"
],
"type": "object"
}