Godot 3D high-level multiplayer API w/interpolation demonstration.

Опубликовано: 30 Март 2026
на канале: STARWOLF
2,042
56

This new prototype features full multiplayer functionality (locally and over the internet). Clients are communicating with the main Linux-based server to obtain 3d positions, unit types and more. So the server calculates physics and sends data back at about 16tick/s to the clients which then process and interpolate these UDP packets. The only data the clients send to the server are just their controller/button input states, this helps against cheaters.
Also, the clients shift their world origin constantly to keep the player jet at 0,0,0 (global coordinates) allowing for large maps.

In this demo, four instances are involved. Three clients (players) and one server. The three players all mimic input from my one controller making them fly in sync with my plane via a local connection with the server.

I still need to fix some minor visual animation/effects glitches and things that are rendered badly in the far distance especially when the plane flies at higher altitudes.
Minor freeze that occurs somewhere in the video is because of a unit being hidden/freed client-side in the wrong way, it is easily fixable.

Made with Godot 3.2 alpha.