so im doing ios development and im trying to make the camera twist and this is what i have and i dont know how twist it right.
input = game:GetService("UserInputService")
cam = game.Workspace.CurrentCamera.CoordinateFrame
input.TouchRotate:connect(function( touchPositions, rotation, velocity, state )
--script.Parent.state.Text = state
game.Workspace.CurrentCamera.CoordinateFrame = CFrame.new(cam.x,cam.y,cam.z)*CFrame.Angles(-.5,rotation,0)
end )
this doesnt work right because it twists up to the left and up to the right.
thanks! :D

2 comments
I want the camera to move left and right not turn right and left
Ah my bad my mistake. I didn't understand what you were asking.