PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

WorldPivot

Model

CFrame

This property determines where the pivot of a Model which does not have a set Model/PrimaryPart is located. If the Model does have a Model/PrimaryPart|PrimaryPart, the pivot of the Model is equal to the pivot of that primary part instead, and this Model/WorldPivot|WorldPivot property is ignored.


Code Samples


Reset Pivot

This code sample shows a custom function for resetting the pivot of a model back to the center of that model’s bounding box.