Reworked camera handling to be smoother
This commit is contained in:
@@ -179,8 +179,8 @@ namespace Assets.Scripts.Player
|
||||
GameObject.Find("QuestLog").GetComponent<QuestLog>().updateQuests("explore", gameObject, 1);
|
||||
}
|
||||
|
||||
public void rotate(Vector2 input, Vector2 speed){
|
||||
transform.Rotate(Vector3.up, input.x * speed.x * 5);// * Time.deltaTime);
|
||||
public void rotate(float yaw){
|
||||
transform.rotation = Quaternion.Euler(0f, yaw, 0f);
|
||||
}
|
||||
|
||||
public void getRotation()
|
||||
|
||||
Reference in New Issue
Block a user