feat: Add CameraContextManager to dynamically adjust camera position based on player's board position and game mode, including hysteresis and tweening.

This commit is contained in:
Yogi Wiguna
2026-02-23 17:38:37 +08:00
parent d2b616549f
commit a536e060c9
+1 -1
View File
@@ -101,7 +101,7 @@ func _update_stop_n_go_camera(current_row: int, current_col: int):
# 3. Target Calculation
var target_x = 3.0 + (current_col_setup * 5.0) # approx centers for 4 zones in 22 cols
var target_y = 19.636
var target_z = 15.0 if current_row_setup == 0 else 19.5
var target_z = 15.0 if current_row_setup == 0 else 17.5
# Adjust specific X centers for the 22-col field
match current_col_setup: