Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
boats: Improve physics by implementing drag and friction forces
Implement drag force according to the equation: drag_force = drag_coefficient * speed ^2 Also add a small constant force to implement friction force.
- Loading branch information
Showing
with
13 additions
and 21 deletions.
- +3 −1 .luacheckrc
- +10 −20 mods/boats/init.lua