Hello, I am a pretty good scripter, but as I never really needed to turn objects in Roblox by scripts. So, once I saw someone changing an angle of an object by using CFrame.Angles Here is what it somewhat looked like:

Object.CFrame = CFrame.Angles(0,3,5)

So, what does the first, second, and the third argument mean? Thanks in advance

3 comments

1

The 3 arguments of Cframes and vector3 to change degrees is x,y,z see this to learn https://developer.roblox.com/en-us/articles/Understanding-CFrame

1

As an example, Part.CFrame = Part.CFrame * CFrame.Angles(0,3,5)

0

Thank you so much~