SG Physics 2D is a deterministic 2D physics engine for Godot, based on fixed-point math. It's useful for online multiplayer games, especially those using rollback netcode.
A physics engine is "deterministic" if it will play out exactly the same on two different computers, if both have the exact same starting state.
Most physics engines aren't deterministic (including the builtin physics engine in Godot), or are only deterministic under certain conditions (ex. Box2D is deterministic if both computers are running the same binary, so it's not deterministic cross-platform).
And that's usually fine, because most games don't need deterministic physics!
But for some games, especially online multiplayer games using certain network synchronization techniques (like rollback and prediction), a deterministic physics engine is a requirement.
- Release status
Alpha / Beta
Subscribe to get an email when new articles or videos are posted on SnopekGames.com!