Open korysanchez opened 4 days ago
1m = ??? pixels
lets say 1 for now
The calculations for gravity are done in the player file, but we should abstract the calculations to be done in the gravity.rs file. We'll leave this to a future date however, as it's currently functional for the player.
Create a gravity force, which is a trait that can be inherited by the player, and any pixel elements. should mostly match real gravity, i.e. will accelerate towards 9.8 m/s.