gameobject_create
Create new GameObjects in Unity scenes, including primitives like cubes and spheres or empty objects, with customizable transforms and parenting.
Instructions
Create a new GameObject in the active Unity scene. Can create primitives (Cube, Sphere, Capsule, Cylinder, Plane, Quad) or empty GameObjects. Supports setting initial transform and parent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the new GameObject | |
| type | No | Primitive type: Cube, Sphere, Capsule, Cylinder, Plane, Quad. Omit for empty GameObject | |
| position | No | Initial world position | |
| rotation | No | Initial rotation in euler angles | |
| scale | No | Initial local scale | |
| parentName | No | Name of an existing GameObject to set as parent |