How do you set the Cameras to look at a particular point?
I want to take temporary control of the Cameras to look at a particular point.
I also want to reset them to look a particular direction.
For example,
Lets say I right click on down it hides the cursor and on up it shows the cursor.
No I can do this to make sure the body is going the correct way:
But how do I get the camera not to snap another x amount of degrees? How do I set the camera back?
I also want to reset them to look a particular direction.
For example,
Lets say I right click on down it hides the cursor and on up it shows the cursor.
No I can do this to make sure the body is going the correct way:
Vector3 fVector3 = new Vector3();
CameraController.GetCameraOrientationEulerAngles(ref fVector3);
PlayerController.transform.rotation = Quaternion.AngleAxis(fVector3.y, Vector3.up);
But how do I get the camera not to snap another x amount of degrees? How do I set the camera back?
