Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I set the parts CFrame's angles to 3.14 for the y axis but on th?? parts orientation its 179 not 180

Asked by 4 years ago
Edited by royaltoe 4 years ago
--ScriptingHelpersAreGoodStopTrolling is a part btw in workspace
local ScriptingHelpersAreGoodStopTrolling = game.Workspace.ScriptingHelpersAreGoodStopTrolling 
local newCFrame = CFrame.Angles(0 ,3.14, 0)
ScriptingHelpersAreGoodStopTrolling.CFrame = newCFrame

3.14 is half a circle

The orientation of the ScriptingHelpersAreGoodStopTrolling part in workspace should be 0,180,0 yet its 0, 179.91, 0

179.91

anyone know why??

0
do math.pi instead since 3.14 isnt as precisely pi smh royaltoe 5144 — 4y

Answer this question