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:
@@ -101,7 +101,7 @@ func _update_stop_n_go_camera(current_row: int, current_col: int):
|
|||||||
# 3. Target Calculation
|
# 3. Target Calculation
|
||||||
var target_x = 3.0 + (current_col_setup * 5.0) # approx centers for 4 zones in 22 cols
|
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_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
|
# Adjust specific X centers for the 22-col field
|
||||||
match current_col_setup:
|
match current_col_setup:
|
||||||
|
|||||||
Reference in New Issue
Block a user