How to translate a CFrame 360 angles

Hello,
I was wondering if it is possible to translate a CFrame 360 angles.

game.Workspace.Union.CFrame = game.Workspace.Union.CFrame * CFrame.fromEulerAnglesXYZ(0,0.1,0)
wait(0.01)
-- game.Workspace.Union.CFrame = game.Workspace.Union.CFrame * CFrame.fromEulerAnglesXYZ(0,0.1,0)

Thanks

why not just * CFrame.Angles() ?

Convert it into radians.

game.Workspace.Union.CFrame = game.Workspace.Union.CFrame * CFrame.Angles(0, math.rad(360), 0)

or if u wanna do this

game.Workspace.Union.CFrame = game.Workspace.Union.CFrame * CFrame.Angles(0, math.pi*2, 0)

this works because pi is 180 degrees in radians, and 180*2 = 360
image

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.