|
| 18 Mar 2016 07:16 PM |
I'd like to know how to rotate a whole model rotate without the blocks inside the model going crazy.
Thanks for your help!
|
|
|
| Report Abuse |
|
62GB
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 4157 |
|
|
| 18 Mar 2016 07:19 PM |
Steps: Define a PrimaryPart of the model. (This part should be a part in the center of your model for it to spin right)
Modify the numbers within the paremeters of CFrame.Angles to modify it's spin. Currently, they're all 0's.
Put this script in the model:
script.Parent:SetPrimaryPartCFrame(script.Parent.PrimaryPart.CFrame)
while wait() do script.Parent:SetPrimaryPartCFrame(script.Parent:GetPrimaryPartCFrame() * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) end |
|
|
| Report Abuse |
|