From b48d4853d0e6a6c627043f53e100354e523c29c1 Mon Sep 17 00:00:00 2001 From: cel Date: Sun, 17 Jul 2022 03:03:14 +0100 Subject: move camera up --- godot/scenes/Die.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'godot/scenes/Die.gd') 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): -- cgit