set_origin
Move an object's origin to a world point or box anchor without shifting its geometry or children, so hinges, prop bases, and weapon grips rotate around the correct pivot.
Instructions
Move the origin of each object without moving its geometry or its children in the world. Give either at (one
world point for all) or anchor (fractions of the world box of each object, without children: (0.5, 0.5, 0) is the
bottom centre, (0.5, 0.5, 0.5) the centre). Use it for pivots: a hinge axis, the base of a prop, the grip of a
weapon. Mesh data shared with other objects becomes a private copy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ||
| names | Yes | ||
| anchor | No |