Hi everyone!
I am using this script to move my camera around. It works perfectly and this is exactly the style of camera I want. Here it is in action:
I tried something like this:
How could I implement zoom for this style of mouselook that I got from the forums?
I am using this script to move my camera around. It works perfectly and this is exactly the style of camera I want. Here it is in action:
I tried something like this:
Code (CSharp):
- if (Input.GetMouseButton(1))
- {
- int layerMask = 1 << CombatManager.GROUND_LAYER;
- Ray mouseClick = Camera.main.ScreenPointToRay(Input.mousePosition);...