ap_object_set_transform
Set an object's position, rotation, or scale in ArmorPaint, rebuilding its transform matrix. Accepts XYZ Euler rotation in degrees; omitted components remain unchanged.
Instructions
Set an object's location, rotation and/or scale, then rebuild its matrix. Rotation is given as XYZ Euler angles in DEGREES and converted to the quaternion the engine wants. Omitted components are left alone. ArmorPaint's world is Z-up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Object name. | |
| scale | No | Scale [x, y, z]. | |
| location | No | World location [x, y, z]. | |
| rotation_euler_degrees | No | XYZ Euler rotation in degrees. |