aboutsummaryrefslogtreecommitdiffstats
path: root/godot/scenes/Die.gd
diff options
context:
space:
mode:
authorLibravatar cel <cel@blos.sm>2022-07-17 03:03:14 +0100
committerLibravatar cel <cel@blos.sm>2022-07-17 03:03:14 +0100
commitb48d4853d0e6a6c627043f53e100354e523c29c1 (patch)
treeabbeaaeb3809f9786cc6da9621631334da5077f1 /godot/scenes/Die.gd
parent5d5d662a99a512e2718aae4a4a84f050bc1d411f (diff)
download2022-b48d4853d0e6a6c627043f53e100354e523c29c1.tar.gz
2022-b48d4853d0e6a6c627043f53e100354e523c29c1.tar.bz2
2022-b48d4853d0e6a6c627043f53e100354e523c29c1.zip
move camera up
Diffstat (limited to '')
-rw-r--r--godot/scenes/Die.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/godot/scenes/Die.gd b/godot/scenes/Die.gd
index 7d07a6f..9341bc1 100644
--- a/godot/scenes/Die.gd
+++ b/godot/scenes/Die.gd
@@ -76,8 +76,8 @@ func _physics_process(delta):
$CamRoot/Horizontal.rotation_degrees.y = camrot_h
$CamRoot/Horizontal/Vertical.rotation_degrees.x = camrot_v
- $CamRoot.translation.x = translation.x
- $CamRoot.translation.y = translation.y
+ $CamRoot.translation.x = translation.x
+ $CamRoot.translation.y = translation.y + 5
$CamRoot.translation.z = translation.z
if last_frame_position != Vector3(translation.x, translation.y, translation.x):