make camera rotate listener

This commit is contained in:
2025-09-29 15:06:59 +10:00
parent 8d0b2ec472
commit adc7138a8b
2 changed files with 2 additions and 0 deletions

View File

@@ -11,3 +11,4 @@ _angle_degrees = Vector3(-50, -45, 0)
[node name="AudioListener3D" type="AudioListener3D" parent="."]
top_level = true
current = true

View File

@@ -58,6 +58,7 @@ func _process_following(delta: float) -> void:
global_position = follow_position + transform.basis.z * _distance
_listener.global_position = follow_position
_listener.global_rotation = global_rotation
func _connect_player_signals(player: Player) -> void: