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

Rotation without object going on top of other objects?

I'm sorry if the title was a little bit unclear, but what I am trying to do is CFrame and rotate and object, without the object moving elsewhere than the CFrame stated.

The CFrame: 7.55, 12.1, 0 and the rotation: 0, 0, 90

However, if I rotate it after I've CFramed it, it will go on top of all the other objects. And if I rotate before, the CFrame will reset the rotation.

Any suggestions?

1 answer

✓ Accepted answer
CFrame = CFrame*CFrame.Angles(math.rad(x), math.rad(y), math.rad(z))

1 comment

0

Thank you very much.

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