Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to change an object's rotation using CFrame.Angles()? [SOLVED]

Asked by 4 years ago
Edited 4 years ago

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

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 JesseSong 3916 — 4y
1
As an example, Part.CFrame = Part.CFrame * CFrame.Angles(0,3,5) mybituploads 304 — 4y
0
Thank you so much~ alexfinger21 341 — 4y

Answer this question