On one of the chapters about programming in this book im learning from, on one of the script examples there is a line consisting of input.getaxis for mouse detection. This is the line of code:
target.transform.Rotate(Input.GetAxis(“Mouse Y”) * 3F, -Input.GetAxis(“Mouse X”) * 3F, 0F);
I was wondering why there is a minus sign before the second Input.GetAxis? and does this make any difference whether it is there or not. When i run the code it doesnt appear to make any difference whether to minus sign is there or not…
(Btw I am using Unity 4.3 if that makes any difference)