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

How to rotate a part in global space?

I'm sorry I wasn't clear enough, What I mean is how to rotate the part relative to itself or to the actual axes. Here is a small clip of what I mean explained by F3X

See how the axes changed? I can figure out how to rotate local/relative to the part, but I'm not sure about the center/global...

I just found this wiki page. Would this help me out at all?

You may have seen my question before, I needed help with moving parts locally on different axises. Now here's the ironic part, I can rotate parts locally, but not globally! Any idea how to do that?

I know how to locally rotate a part, you do it like this:

Part.CFrame = Part.CFrame * CFrame.Angles(math.rad(45), 0, 0)

And that rotates it locally on the X axis 45 degrees. How would I go doing this globally?

2 comments

3

The plural is axes, not axises. Also, what do you mean by rotating parts globally and locally?

1

Do you mean "relatively" and "absolutely"?

1 answer

You could probably use a Server-Script, and a Remote Event to send new CFrames to the Server-Script and just modify the Local Script to send the CFrames

Helpful Links:

RemoteFunction and RemoteEvent Tutorial

1 comment

0

Clearly, I wasn't clear enough... I didn't mean changing CFrames from a ServerScript or LocalScript, I meant relative to the part or to the actual axes. I'll provide a GIF with F3X tools to help you out with what I mean...

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