Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Need help making a head rotation script go in all directions?

Asked by 5 years ago
Edited 5 years ago

I am making a robot that has to look at things from 360 degrees (Up and Down aren't necessary), but most free model scripts only turn 45 to 90 degrees.

I believe you can only use Vectors to find where the Camera is looking at. Like UpVector,LookVector, and RightVector.

I am also trying to get the Vector into degrees, because the neck uses constraints, so it goes up to 180 on each side.

Camera.CFrame.LookVector >> Number or Camera.CFrame.LookVector >> Number * 180

Anything I should try?

Answer this question