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

How to rotate a part in global space?

Asked by 8 years ago

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?

3
The plural is axes, not axises. Also, what do you mean by rotating parts globally and locally? DragonODeath 50 — 8y
1
Do you mean "relatively" and "absolutely"? BlueTaslem 18071 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago

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

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... lightpower26 399 — 8y
Ad

Answer this question