diff options
| author | Anson Bridges <bridges.anson@gmail.com> | 2022-09-13 18:15:01 -0400 |
|---|---|---|
| committer | Anson Bridges <bridges.anson@gmail.com> | 2022-09-13 18:15:01 -0400 |
| commit | 4068e66756966983973ab20b68ec5382e398548b (patch) | |
| tree | c2215e65167c7f6aced272da371214985cce16f5 /godot/scripts/cameras/plane_armcam.gd | |
| parent | e2f3e4bd7118c8f55d20b29d76cb9a13acf72f8b (diff) | |
incomplete airplane implementation (needs addl. network sync)
Diffstat (limited to 'godot/scripts/cameras/plane_armcam.gd')
| -rw-r--r-- | godot/scripts/cameras/plane_armcam.gd | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/godot/scripts/cameras/plane_armcam.gd b/godot/scripts/cameras/plane_armcam.gd index edb0284..68b4852 100644 --- a/godot/scripts/cameras/plane_armcam.gd +++ b/godot/scripts/cameras/plane_armcam.gd @@ -14,12 +14,6 @@ func _ready(): func _input(event): if $ClippedCamera.current: - if Input.is_action_just_pressed("menu"): #toggle mouse capture on esc - if Input.get_mouse_mode() == Input.MOUSE_MODE_VISIBLE: - Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) - else: - Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE) - if Input.get_mouse_mode() == Input.MOUSE_MODE_CAPTURED: if event is InputEventMouseMotion: rotation_degrees.x = clamp(rotation_degrees.x-event.relative.y*0.1,-70,70) |
