Help for converting units in Love2D
Posted: Thu Jun 25, 2020 2:44 am
Hello everybody, I am a noob in Love2D
I am writing a Physics simulator in Love2d. To be more precise is a free fall simulator, very basic stuff. I need to work with meters per second, but I do not know how to do this, since every unit in Love2D is in pixels. How can I correct this problem? I managed to work with love.physics.getMeter() but what does the returning number means? How can I work with it?
Thanks!
I am writing a Physics simulator in Love2d. To be more precise is a free fall simulator, very basic stuff. I need to work with meters per second, but I do not know how to do this, since every unit in Love2D is in pixels. How can I correct this problem? I managed to work with love.physics.getMeter() but what does the returning number means? How can I work with it?
Thanks!