I'm currently scripting CFraming, and I have no idea how to do a full rotation. I understand how to script rotating CFrames, but the point being it is always a bit off. Any help??
Hi iPhoneDrew,
.Angles
constructor of CFrame and start using math.rad()
1 | local part = workspace.Part -- The part you're rotating. |
2 |
3 | part.CFrame = part.CFrame * CFrame.Angles( 0 , math.rad( 360 ), 0 ) -- This will do a full rotation since it just rotates 360 degrees, which is a full circle. |
Thanks,
Best regards,
~~ KingLoneCat