• Tutorials
  • Getting started with SG Physics 2D and deterministic physics in Godot - good for rollback netcode!

@dsnopek said: I've been implementing rollback netcode in one of my games, and one of the requirements for rollback is deterministic physics. Since Godot's built-in physics engine isn't deterministic, I built this little Open Source module. I hope others find it useful! :-)

Are you a genius? Also, I saw you wrote you didn't include rigid bodies. If it's online multiplayer, is it even possible to have rigid bodies bounce around deterministically?

a month later

@Erich_L said: Also, I saw you wrote you didn't include rigid bodies. If it's online multiplayer, is it even possible to have rigid bodies bounce around deterministically?

Sorry I didn't see this right away! I gotta make sure I have notifications setup correctly...

Yes, it is possible to have rigid bodies bounce around deterministically! I'd love to eventually get rigid bodies included in SG Physics 2D, because it'd be really cool to see what people build with it. :-) I haven't needed it yet, which is why I haven't already put it in.