In my game I am rolling physics enabled dice. The problem is that sometimes they do not land exactly flat. Sometimes they stop against a wall or another die. Sometimes they stop by themselves but seem to be balanced on an edge of the die.
How can I ensure that all the dice stop rolling in a flat position? This is not a gambling game so it’s ok if it’s not a 100% mathematically random scenario. Just has to be “random enough”.