How do I get an objects cframe.Angles? Solved

How do I get an objects cframe.Angles? Figured out a solution

You can convert a certain CFrame into Euler Angles (3D Angles) using:

local x, y, z = cframe:ToEulerAnglesYXZ()

then how will i add those angles to

Oh, so you don’t necessarily want the specific angles.
Well, sleitnick showed a great way of doing that.

local angles = (cframe - cframe.Position)

Basically you construct a new CFrame and exclude it’s position, therefore only it’s orientation remains.

No, roblox recently added CFrame.Rotation

1 Like

@Mad_Hooligan you should test it out, i think this is the solution for your problem

Edit: You edited the post title to solved so you should mark someone as solution or create an answer to your own topic and show what you made to fix your issue