Hello. I trying to create simple air hockey game watching "Godot Over WebRTC! Using Nakama Matchmaking With Godot!" tutorial. To makes it easier for me, I decided to add my game over existing source code, because doing the other way around was too difficult for me. Here is my current version, where I cannot understand how to add shared and synced Puck object(RigidBody2D) for both players.
Commented code in this image = my futile efforts to make it work.
My project in archive - link
In order to test it you have to run local Nakama server via Docker Desktop and launch 2 game instances via
Thanks for your attention!
Help needed to add and sync object for players in multiplayer WebRTC game