diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-08-24 09:30:31 -0700 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-08-24 09:32:28 -0700 |
commit | 9c9e528e3e5b8598186183f381b9d2131e52682e (patch) | |
tree | 040d0369b0fe0ece992f087b720365cde4bd51ca /modules/mono/mono_gd | |
parent | 770a1d00a3b14c4abd1cd57c9621de93b24478aa (diff) |
Fix point gravity calculation
Removing the + 1 in point gravity formula when using distance scale to
make it more accurate for standard gravitation.
Fixes precession in orbits for games using gravitation.
Also moved gravity calculation to area to use it for both rigid bodies
and soft bodies in 3D (same change in 2D for consistency).
Co-authored-by: Ryan Peach <ryan.peach@keysight.com>
Diffstat (limited to 'modules/mono/mono_gd')
0 files changed, 0 insertions, 0 deletions