How to change the pivot of a model

Using SetPrimaryPartCFrame(), you can change the CFrame based off of the primary part. Meaning If I were to change the CFrame of my model, the primary part would move there and the rest of the model would follow in correct positioning compared to the primary part.

With PivotTo(), I am unsure how to do this. SetPrimaryPartCFrame() is deprecated so I don’t want to use it.

Thank you.

It works pretty much the same way as it was before if you have a PrimaryPart assigned already:

--Old
Model:SetPrimaryPartCFrame(CFrame.new(--[[Yada Yada]]))
--New
Model:PivotTo(CFrame.new(--[[Yada Yada]]))
1 Like

It does too, thank you.

charrr

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.