So basically, what I'm trying to ask is how am I supposed to "remove" the CFrame.Angles rotation that I put on the part before. So for example I put something like "part.CFrame * CFrame.Angles(0,0.3,0)", but I don't want to do it by doing "part.CFrame * CFrame.Angles(0,-0.3,0)".
COMMUNITY QUESTION
How do I reset CFrame.Angles?
1 answer
Let's save the current rotation first.
local prev_angles = part.Orientation
part.CFrame = part.CFrame * CFrame.Angles(0, math.rad(0.3), 0)
if you want to reset it, you could simply do
part.Orientation = prev_angles
Accept if this helped, thanks.
1 comment
0
No. That's not what he asked for. He want to reset it. Not save it. So simply do CFrame.Angles(0, 0, 0)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Try part.CFrame = part.CFrame - part.Orientation. Not sure what it'll do, but I know you can set a variable to the CFrame orientation by doing that, so maybe it works the other way too?
You do CFrame.Angles(0,0,0)