Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
|
| 30 Apr 2017 06:57 PM |
| How would you rotate a model? |
|
|
| Report Abuse |
|
|
Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
| |
|
| |
|
JoshRBX
|
  |
| Joined: 19 May 2012 |
| Total Posts: 8778 |
|
|
| 30 Apr 2017 08:03 PM |
| .Rotation = .(Rotation + x) % 360 |
|
|
| Report Abuse |
|
|
Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
|
| 30 Apr 2017 10:52 PM |
| Rotation isnt a member of model though |
|
|
| Report Abuse |
|
|
gum444
|
  |
| Joined: 06 May 2011 |
| Total Posts: 549 |
|
|
| 30 Apr 2017 11:00 PM |
you need to rotate off of a primate part in the model, so make a primary part, for the rotation, it's like this:
model.PrimaryPart.CFrame = CFrame.new(model.PrimaryPart.CFrame) * CFrame.Angles(0,0,0)
change the Angles to waht you want
|
|
|
| Report Abuse |
|
|
gum444
|
  |
| Joined: 06 May 2011 |
| Total Posts: 549 |
|
|
| 30 Apr 2017 11:00 PM |
| woops not primate, primary |
|
|
| Report Abuse |
|
|
|
| 30 Apr 2017 11:15 PM |
| I have a script for this... |
|
|
| Report Abuse |
|
|
|
| 30 Apr 2017 11:28 PM |
while true do script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0.1,0) wait (0.1) --Change how fast you want the moodel to rotate end |
|
|
| Report Abuse |
|
|