jcornaz / heron

[DISCONTINUED] An ergonomic physics API for bevy games
MIT License
292 stars 44 forks source link

Recommend using SI units #284

Open jcornaz opened 2 years ago

jcornaz commented 2 years ago

@bit-garden rightfully explained here why it is important to not use the pixel as a unit, but rather meter* instead.

*: it is not really about "meter", but rather using a unit for simulation so that object sizes are close to 1. So a game that simulates planetary bodies may use Mm, and a game at a microscopic scale may better use µm.

But that is not so intuitive for users who just start with heron, and they can encounter strange behavior (like #276).

So, here is what we should do to improve heron in this area:

bit-garden commented 2 years ago

Maybe include a way to dynamically update the pixel to meter ratio for screen resizes, like mobile devices.