|
| 27 Jan 2015 01:27 PM |
local model = script.Parent model.PrimaryPart = model.Base
while wait() do model:SetPrimaryPartCFrame(CFrame.new(0,0,math.pi()*2)) end
|
|
|
| Report Abuse |
|
|
|
| 27 Jan 2015 01:28 PM |
local model = script.Parent model.PrimaryPart = model.Base
while wait() do model:SetPrimaryPartCFrame(model.PrimaryPart.CFrame * CFrame.Angles(0, math.rad(10), 0)) end
⬡ |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2015 01:28 PM |
| can u explain that for me? |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2015 01:32 PM |
like the part you added
im bad at the math part so pls |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2015 01:35 PM |
| It has nothing to do with math (sort of), CFrame.Angles does the math need to obtain the degrees (in radians) specified with each axis. Read this: http://wiki.roblox.com/index.php?title=CFrame |
|
|
| Report Abuse |
|
|