try fixing the aiming jitter

This commit is contained in:
2025-07-27 04:35:19 +10:00
parent cb66410117
commit f36113d64c
3 changed files with 112 additions and 111 deletions

View File

@@ -40,7 +40,10 @@ func _process(delta: float) -> void:
fov = _fov
_damage_shake(delta)
_hit_shake(delta)
call_deferred("_process_following", delta)
func _process_following(delta: float) -> void:
var follow_position: Vector3 = Vector3.ZERO
for player in Referencer.players:
follow_position += _follow(player, delta)