Scripting Rotation

I want to be able to perform the rotation that can be done using the rotation tool in ROBLOX studio, but in a script.

I don’t know how to do this. I have tried using matrices, unfortunately I am not very good at them.

Essentially I want this to occur:
Start rotation (0,0,30)

End rotation (20.705, 9.007, 24.149)

But in a script.

would you like it to smoothly rotate? Overall you really just need to use cframe.Angles

Thank you. This is going to save me a lot of time. I was worried that I would have to write out like 50 lines of matrix functions are something.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.