|
| 28 Aug 2016 08:38 AM |
for i=80, -150, -0.5 do game.Workspace.House:SetPrimaryPartCFrame(CFrame.new(game.Workspace.House.PrimaryPart.Position)*CFrame.Angles(math.pi/i,0,0)) wait() end
For some reason my model starts randomly accelerating when it rotates on certain position. It doesn't matter what's the starting rotating position is, but it always rotates on 1 side much faster than the others. |
|
|
| Report Abuse |
|
|
| 28 Aug 2016 08:40 AM |
Perhaps because you are dividing in the wrong order, and as i approaches 0 math.pi/i approaches infinity.
|
|
|
| Report Abuse |
|
|
| 28 Aug 2016 08:44 AM |
ooooo
I'm really bad at maths, can you help me out a bit? I don't understand at all how I have to divide it "correctly". |
|
|
| Report Abuse |
|