diff options
author | cel <cel@blos.sm> | 2022-07-17 03:03:14 +0100 |
---|---|---|
committer | cel <cel@blos.sm> | 2022-07-17 03:03:14 +0100 |
commit | b48d4853d0e6a6c627043f53e100354e523c29c1 (patch) | |
tree | abbeaaeb3809f9786cc6da9621631334da5077f1 /godot/scenes | |
parent | 5d5d662a99a512e2718aae4a4a84f050bc1d411f (diff) | |
download | 2022-b48d4853d0e6a6c627043f53e100354e523c29c1.tar.gz 2022-b48d4853d0e6a6c627043f53e100354e523c29c1.tar.bz2 2022-b48d4853d0e6a6c627043f53e100354e523c29c1.zip |
move camera up
Diffstat (limited to '')
-rw-r--r-- | godot/scenes/Die.gd | 4 | ||||
-rw-r--r-- | godot/scenes/Die.tscn | 2 |
2 files changed, 4 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): diff --git a/godot/scenes/Die.tscn b/godot/scenes/Die.tscn index a55f74d..bbd73ed 100644 --- a/godot/scenes/Die.tscn +++ b/godot/scenes/Die.tscn @@ -51,6 +51,7 @@ skeleton = NodePath("../..") material/0 = null [node name="CamRoot" type="Spatial" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 15.0578, 0 ) [node name="Horizontal" type="Spatial" parent="CamRoot"] @@ -59,4 +60,5 @@ material/0 = null [node name="Camera" type="ClippedCamera" parent="CamRoot/Horizontal/Vertical"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 10.1285 ) far = 8192.0 +margin = 0.57 process_mode = 1 |