fix: improve movement under network latency

This commit is contained in:
Alexander Sellite 2026-08-15 20:05:26 -04:00
parent 72770cbfd2
commit c260472d8a
4 changed files with 364 additions and 31 deletions

View file

@ -78,6 +78,10 @@ func get_avatar(peer_id: int) -> Player:
return _avatars.get(peer_id)
func get_local_player() -> Player:
return _local_player
func set_peer_presentation_visible(peer_id: int, should_be_visible: bool) -> void:
var avatar: Player = _avatars.get(peer_id)
if avatar != null and is_instance_valid(avatar):