How can I do that if I move the mouse left it prints "left", if i move the mouse to the right it prints "right"?
this Input.GetAxis ("Mouse X"); i believe doesn't solve it.. because it's right and left together..
How can I do that if I move the mouse left it prints "left", if i move the mouse to the right it prints "right"?
this Input.GetAxis ("Mouse X"); i believe doesn't solve it.. because it's right and left together..
Solution : YourModel.Rotate(0,Input.GetAxis("Mouse X") * sensitivityX,0);