Is it normal that a physics simulation with the exact same setup can produce different results?

Godot Version

4.3.dev1

Question

I am working on a physics based dungeon generator and I have a problem where the same seed does not lead to the same dungeon layout.

Is it normal that a physics simulation with the exact same setup can produce different results or am I dealing with some sort of bug? If its normal, how can I circumvent this issue?

Yes, it’s normal, physics engines are generally not deterministic.

You could try using Snopek Games / SG Physics 2D · GitLab which is a deterministic physics engine.

1 Like

Ah, thank you very much. I will give that a shot!