feat: add Jajce world scaffold

This commit is contained in:
2026-07-04 21:06:57 +02:00
parent 83fc258afc
commit 556d0fdc26
19 changed files with 545 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
extends Camera3D
@export var focus_point := Vector3(0.0, 2.0, 0.0)
@export var orbit_speed := 0.025
@export var animate_orbit := true
func _ready() -> void:
look_at(focus_point, Vector3.UP)
func _process(delta: float) -> void:
if not animate_orbit:
return
var offset := global_position - focus_point
offset = offset.rotated(Vector3.UP, orbit_speed * delta)
global_position = focus_point + offset
look_at(focus_point, Vector3.UP)