ThalesGroup / kessler-game

Kessler is a simulation environment loosely modeled after our internal project PsiBee and the external project Fuzzy Asteroids. The game has ships that shoot bullets at asteroids to gain score. Ships can collide with asteroids and other ships and lose lives.
https://github.com/ThalesGroup/kessler-game
Apache License 2.0
8 stars 5 forks source link

Fixed asteroid mine divide by zero #41

Closed TimArnettThales closed 7 months ago

TimArnettThales commented 7 months ago

Fixed impulse effects on asteroids from mines to avoid div by zero and impart momentum even if parent asteroid has zero momentum