Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

[ANSWERED] Is it possible to get orientation from a CFrame?

Is it possible to get orientation from a CFrame?

For example, lets say a part's CFrame = 0, 0, 0, 0.707106829, -0.49999994, -0.500000119, 0, 0.707106948, -0.707106709, 0.707106829, 0.49999994, 0.500000119, How would you find the part's orientation with ONLY using it's given CFrame?

4 comments

0

CFrame.Angles could help

0

Part.CFrame.Angles > Angles is not a valid member of CFrame

1

I mean the function. CFrame.Angles()

0

Oh I think you mean Part.CFrame:ToOrientation(), thanks

1 answer

Part.CFrame:ToOrientation()

3 comments

0

No such function as 'ToOrientation'

0

why isn't this getting bombed with downvotes, come on everyone, join me.

0

There actually is, guys go on Studio and do print(workspace.Part.CFrame:ToOrientation()) and it will print

This discussion is preserved as it was. New answers, comments, and votes are closed.