Set Object Transform
set_transformSet an object's position, rotation, or scale in local or global space, or replace the entire transform with a 4x3 matrix. Unspecified components keep current values.
Instructions
Write an object's transform in local or global space. Pass any combination of pos/rot (HPB radians)/scale to patch individual components — unspecified parts keep their current value. Or pass a full 4x3 matrix (rows: offset, v1, v2, v3) to replace the whole transform; matrix is mutually exclusive with the decomposed fields. Space defaults to 'local' (SetMl). Use 'global' (SetMg) to write world coordinates through a parent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pos | No | [x, y, z]. | |
| rot | No | [heading, pitch, bank] in radians. | |
| scale | No | [sx, sy, sz]. | |
| space | No | Default 'local'. | |
| handle | Yes | Target object. | |
| matrix | No | 4x3 matrix as [offset, v1, v2, v3]. Exclusive with pos/rot/scale. |