Now About Social Code
summaryrefslogtreecommitdiff
path: root/scripts/fly_camera.gd
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/fly_camera.gd')
-rw-r--r--scripts/fly_camera.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/fly_camera.gd b/scripts/fly_camera.gd
index 0f4dc53..b342ab6 100644
--- a/scripts/fly_camera.gd
+++ b/scripts/fly_camera.gd
@@ -1,4 +1,4 @@
-extends Camera3D
+extends Node3D
# Modifier keys' speed multiplier
const SHIFT_MULTIPLIER = 2.5
@@ -113,4 +113,4 @@ func _update_mouselook():
_total_pitch += pitch
rotate_y(deg_to_rad(-yaw))
- rotate_object_local(Vector3(1,0,0), deg_to_rad(-pitch))
+ #rotate_object_local(Vector3(1,0,0), deg_to_rad(-pitch))