I’m having issues rotating the camera.
cam = workspace.CurrentCamera
cam.CFrame = cam.CFrame * CFrame.Angles(0, math.rad(some value), 0)
It should work, but for some reason it doesn’t. I’ve set the camera to Custom and Scriptable, neither works. I’ve tried changing the local scripts location multiple times, didn’t work. What could be the issue? Is it me just being stupid or perhaps something else?
Also, I’ve placed the script into both StarterPlayer/CharacterScripts. If that helps.
Could we see the full script? Including you setting the CameraMode to Scriptable. It’s just so it’s easier to replicate your issue.
Issue has been solved on a different post.
Hey, TheGoldMiner! Based off of your question, I think I may have a solution to your problem!
while true do
wait()
if game.Players.LocalPlayer.Character then
break
end
end
camera = game.Workspace.CurrentCamera
character = game.Players.LocalPlayer.Character
Z = 0
damping = character.Humanoid.WalkSpeed / 3
PI = 3.1415926
tick = PI / 2
running = false
strafing = false
IsMoving = false
character.Humanoid.Strafing:connect(function(p1)
strafing = p1
end)
character.Humanoid.Jumping:connect(funct…