WIP checkpoint: Client-side position sync + prediction/reconciliation
This commit is contained in:
@@ -20,6 +20,7 @@ var owner_client: Node = null
|
||||
## config, a mismatch here would silently drop the call.
|
||||
@rpc("any_peer", "call_remote", "reliable")
|
||||
func _receive_snapshot(snapshot_data: Dictionary) -> void:
|
||||
print("DEBUG proxy received snapshot: ", snapshot_data)
|
||||
if owner_client and is_instance_valid(owner_client):
|
||||
owner_client._handle_snapshot(snapshot_data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user