first track yeehaw cowboy
This commit is contained in:
1 parent
b23668e1e0
commit
b009d4fe5a
19 files changed
+38710
-370
No files matched your search
@@ -11,7 +11,6 @@ public class CameraController : MonoBehaviour {
|
||||
void Update() {
|
||||
yaw += speedH * Input.GetAxis("Mouse X");
|
||||
pitch -= speedV * Input.GetAxis("Mouse Y");
|
||||
|
||||
transform.eulerAngles = new Vector3(pitch, yaw, 0.0f);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user