https://knar33.github.io/WebRTC-Multiplayer/
I hacked together this quick demo to explore using WebRTC for peer-to-peer multiplayer networking without a central server. If you follow the instructions you can connect directly to another browser (or another tab) and see the position of their box update as they move around. It’s a pretty janky solution with no real use but it was an interesting way to learn about WebRTC and get my feet wet with Babylon.js.
The WebRTC code comes from: GitHub - lesmana/webrtc-without-signaling-server: webrtc without signaling server. a stun server is still used if connecting over the internet. demo: https://webrtc-without-signalling-server.static.land/
Third person camera from the playground: https://www.babylonjs-playground.com/#0D883E#128