KZskychi
|
  |
| Joined: 19 Apr 2012 |
| Total Posts: 202 |
|
|
| 15 Jun 2017 04:23 AM |
| I know that if you want to move a model you use :MoveTo() but what do you use when you have to rotate a model? |
|
|
| Report Abuse |
|
|
Naco88
|
  |
| Joined: 30 Oct 2009 |
| Total Posts: 665 |
|
|
| 15 Jun 2017 05:32 AM |
You need to set a primary part for your model and then do.
model:SetPrimaryPartCFrame(put rotated cframe here)
I have done it before and when I get back to my pc I will paste the proper code. |
|
|
| Report Abuse |
|
|
|
| 15 Jun 2017 05:38 AM |
model:SetPrimaryPartCFrame(model:GetPrimaryPartCFrame() * CFrame.Angles(0,math.rad(90),0)
if you are using degrees you need to use math.rad(degrees) |
|
|
| Report Abuse |
|
|