Added orbit camera controller for game view

Play/pause toggled with SPACE
navigate camera with mouse and WASD (forward/right) + EQ (up)
This commit is contained in:
Daniel Lovell
2024-09-15 21:26:31 -07:00
parent bee353503e
commit cfd5653620
11 changed files with 708 additions and 54 deletions

View File

@@ -7,8 +7,8 @@ public class Hydra70 : Missile {
private Vector3 _acceleration;
private bool _submunitionsLaunched = false;
protected override void Update() {
base.Update();
protected override void FixedUpdate() {
base.FixedUpdate();
// Check if it's time to launch submunitions
if (!_submunitionsLaunched &&