set_rotation
Adjust object rotation in Blender using Euler or Quaternion values to position 3D models accurately for animation and rendering.
Instructions
Set the rotation of an object.
Args: name: Name of the object. rotation: Rotation values. For EULER mode, XYZ angles in radians (3 elements). For QUATERNION mode, WXYZ values (4 elements). mode: Rotation mode, either EULER or QUATERNION. Defaults to EULER.
Returns: Dict with the object name and new rotation.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| rotation | Yes | ||
| mode | No | EULER |