diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-08-28 05:10:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-28 05:10:15 +0200 |
commit | dcf2d09231c03c444cf5374b4d250f327f1333e4 (patch) | |
tree | d7494603ae727fe82b3119decaa477357b8572e5 /servers/physics_2d/body_2d_sw.h | |
parent | d04aa9a114811e27c672e9874c262e91299216f0 (diff) | |
parent | 9c9e528e3e5b8598186183f381b9d2131e52682e (diff) |
Merge pull request #52070 from nekomatata/area-point-gravity-fix
Fix point gravity calculation
Diffstat (limited to 'servers/physics_2d/body_2d_sw.h')
-rw-r--r-- | servers/physics_2d/body_2d_sw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_2d/body_2d_sw.h b/servers/physics_2d/body_2d_sw.h index 74bef433dc..30e14eb9c7 100644 --- a/servers/physics_2d/body_2d_sw.h +++ b/servers/physics_2d/body_2d_sw.h @@ -125,7 +125,7 @@ class Body2DSW : public CollisionObject2DSW { uint64_t island_step; - _FORCE_INLINE_ void _compute_area_gravity_and_dampenings(const Area2DSW *p_area); + _FORCE_INLINE_ void _compute_area_gravity_and_damping(const Area2DSW *p_area); friend class PhysicsDirectBodyState2DSW; // i give up, too many functions to expose |