godot/servers/physics_2d
PouleyKetchoupp 9c9e528e3e 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>
2021-08-24 09:32:28 -07:00
..
area_2d_sw.cpp Fix point gravity calculation 2021-08-24 09:32:28 -07:00
area_2d_sw.h Fix point gravity calculation 2021-08-24 09:32:28 -07:00
area_pair_2d_sw.cpp Ensure KinematicBodies only interact with other Bodies with matching mask. 2021-07-19 17:03:43 +01:00
area_pair_2d_sw.h
body_2d_sw.cpp Fix point gravity calculation 2021-08-24 09:32:28 -07:00
body_2d_sw.h Fix point gravity calculation 2021-08-24 09:32:28 -07:00
body_pair_2d_sw.cpp One-directional collision layer check for rigid bodies and soft bodies 2021-07-19 17:24:04 -07:00
body_pair_2d_sw.h One-directional collision layer check for rigid bodies and soft bodies 2021-07-19 17:24:04 -07:00
broad_phase_2d_bvh.cpp
broad_phase_2d_bvh.h
broad_phase_2d_sw.cpp
broad_phase_2d_sw.h
collision_object_2d_sw.cpp
collision_object_2d_sw.h One-directional collision layer check for rigid bodies and soft bodies 2021-07-19 17:24:04 -07:00
collision_solver_2d_sat.cpp Rename LineShape2D to WorldMarginShape2D 2021-08-14 03:12:13 +02:00
collision_solver_2d_sat.h
collision_solver_2d_sw.cpp Rename LineShape2D to WorldMarginShape2D 2021-08-14 03:12:13 +02:00
collision_solver_2d_sw.h Rename LineShape2D to WorldMarginShape2D 2021-08-14 03:12:13 +02:00
constraint_2d_sw.h
joints_2d_sw.cpp
joints_2d_sw.h
physics_server_2d_sw.cpp Rename LineShape2D to WorldMarginShape2D 2021-08-14 03:12:13 +02:00
physics_server_2d_sw.h Rename LineShape2D to WorldMarginShape2D 2021-08-14 03:12:13 +02:00
physics_server_2d_wrap_mt.cpp
physics_server_2d_wrap_mt.h Rename LineShape2D to WorldMarginShape2D 2021-08-14 03:12:13 +02:00
SCsub
shape_2d_sw.cpp Rename LineShape2D to WorldMarginShape2D 2021-08-14 03:12:13 +02:00
shape_2d_sw.h Fix compilation warnings in Shape2DSW/Shape3DSW 2021-08-19 16:19:49 -07:00
space_2d_sw.cpp API improvement on physics, mainly CharacterBody 2021-08-15 12:53:29 +02:00
space_2d_sw.h Remove infinite inertia and ray shapes from CharacterBody 2021-08-10 12:10:26 -07:00
step_2d_sw.cpp Use C++ iterators for Lists in many situations 2021-07-23 17:38:28 -04:00
step_2d_sw.h