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

How do you change a parts orientation via a script?

Not a really big question, but how do you change a parts orientation (rotation) via script?

1 answer

✓ Accepted answer

The rotation of a part is largely dependent on the use of CFrames. CFrame refers to both the position and orientation of the part. All of the information you will need on CFrames can be found here.

Specifically the CFrame.Angles section in that wiki is what is important towards rotation.

There is also a section on that page on rotating bricks farther down (You can jump straight to it using Ctrl + F).

Please remember to accept my answer if this has helped with your problem. If there is any other information that you would like to know please feel free to message me or comment on my answer. Thanks!

1 comment

0

kk, thanks

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