Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to set a SetPrimaryPartCFrame?

Asked by 3 years ago

I'm so confused about SetPrimaryPartCFrame, nobody talks about it online and I just need help with it!

1 answer

Log in to vote
1
Answered by 3 years ago

It is as simple as this. Primary Part is the root Part of a Model that can be set by Model.PrimaryPart = Instance

SetPrimaryPartCFrame moves the Primary Part of the Model to a certain CFrame and also moves the whole model with it.

It is just like Model:Move() however it takes a CFrame and does not necessary place the middle of the model at the coordinates, instead the middle of the Primary Part.

0
thanks! it works now :) piximentility 37 — 3y
Ad

Answer this question