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

What is the difference between CFrame.Angles and CFrame.fromEulerAnglesXYZ?

I always use CFrame.Angles because it is the default thing I type. However, I didn't realize that Roblox used Euler Angles in CFrame.Angles. So what is the difference between both of the statements?

4 comments

2

fromEuler is the difference. CFrame.fromEulerAngles - CFrame.Angles = fromEuler.

0

@Phlegethon5778 BOI

0

Lol

0

However to try answering I think it was just a change in naming convention.

2 answers

✓ Accepted answer

CFrame.fromEulerAnglesXYZ uses a coordinate system to find the angles. Angles found using CFrame.Angles are found using raw data.

2 comments

0

Interesting... is this documented anywhere?

0

No, it's that all euler angles are found using coordinate points

In my experience and based on the wiki's definition there is no difference. As shown in the wiki here, the definitions are the same.

Honestly, I don't pay enough attention to know why they have two of the same thing. Maybe there is a subtle difference but in most contexts this likely wouldn't matter.


If you liked this post please give me some rep points by clicking accept or upvote. Or just live your life.

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