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

How do I rotate models?

I saw another scripting helpers post asking the same question, but has no working answer. I'm pretty sure you use SetPrimaryPartCFrame or something. I want to know how to rotate a model by 90 degrees. I've used one of the other post's answers, doesn't rotate but changes the position. Any help?

2 answers

✓ Accepted answer

Try this

x:SetPrimaryPartCFrame(x:GetPrimaryPartCFrame()*CFrame.Angles(0,math.rad(10),0))

4 comments

0

View source code if it didn't fit on your screen

0

I'll try. if it works, I'll accept as an answer.

0

did it work

0

xD

Maybe the part is anchored.

4 comments

0

Anchored doesn't affect CFrame behavior, does it?

0

It does, it can't move, rotate or do anything with CFrame.

0

Don't listen to him, he's just gay.

0

if the part is anchored you can still make it move and why did you comment by telling he is gay?

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