thombruce / verse

🚀 A universe in progress
Other
8 stars 0 forks source link

Feat/better dynamic gravity #100

Closed thombruce closed 9 months ago

thombruce commented 9 months ago

closes #98 closes #51

By submitting this pull request, you agree to follow our Code of Conduct: https://github.com/thombruce/.github/blob/main/CODE_OF_CONDUCT.md


Internal use. Do not delete.

thombruce commented 9 months ago

I've also reworked static gravity here and introduced real-world values for the orbital radii of planets and the Moon.

This results in it taking a very long time to reach anywhere (even after scaling), so I have bumped up the player speed.

It still takes a long time to reach the outer planets. We need to reconsider the player speed handling entirely.

I would also like for the gravitational effects to be felt from further away in some cases (planets mainly; the star feels good) but not at the cost of making any planetary body too difficult to escape in a pinch. Done!