Reworked camera handling and localization a bit

This commit is contained in:
Finnchen123
2025-06-07 10:15:59 +02:00
parent 8f561f7f42
commit cb033ea487
12 changed files with 101 additions and 210 deletions

View File

@@ -183,7 +183,7 @@ namespace Assets.Scripts.Player
}
public void rotate(Vector2 input, Vector2 speed){
transform.Rotate(Vector3.up, input.x * speed.y);// * Time.deltaTime);
transform.Rotate(Vector3.up, input.x * speed.x);// * Time.deltaTime);
}
public void getRotation()