set_pivot
Move or center an object's pivot to a specified coordinate, its geometric center, or the world origin before animation, parenting, or rotation to avoid incorrect spin behavior.
Instructions
移动或居中对象的轴点(pivot)。place=放到指定坐标,center=几何中心,origin=世界原点。烘焙动画/父子链接前先定好轴点,否则旋转会绕错位置。 [English] Move or center an object's pivot. place=given coord, center=geometric center, origin=world origin. Set the pivot before baking animation or parenting or rotation spins around the wrong spot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | place/center/origin。 | place/center/origin. | place |
| objects | No | 对象名称列表;省略则用当前选择。 | Object names; omit for the selection. | |
| position | No | place 模式下轴点坐标 [x,y,z]。 | Pivot coord for place mode [x,y,z]. |