How can I rotate a part in the world space without having to set the cframe to 0, 0, 0?

Hello, I am trying to rotate a part relative to the world space, but since to rotate it I need to use CFrame.new() * CFrame.Angles() I don’t know how I would do it for the world space.

If you’re only trying to rotate and not move it just set the cframe to the parts current cframe

Part.CFrame = Part.CFrame * CFrame.Angles(whatever, anything, anythingelse)

This should work.

That rotates it in the part’s axis, I want it to rotate on the world’s axis.

try Cframe:ToWorldSpace check it out here

I don’t know how to do that but I found another topic and maybe some replies could help.
the topic

1 Like

Maybe you could use part’s Orientation?

1 Like

Hello!
You may use the property “Rotation” which will change the part rotation relative with the world space.
Try something like this:
Part.Rotation = Vector3.new(0, 45, 0)

Mhhh, i believe the solution for you could be Part.CFrame = CFrame.new(Part.Position) * CFrame.Angles(x,y,z) This will keep the part position, and will rotate the part in world’s axis (i think)