virtualx-engine/servers/physics_2d
PouleyKetchoupp bf523a2b2a Improved logic for CharacterBody collision recovery depth
Allows 2D character controller to work without applying gravity when
touching the ground (also more safely in 3D), and collision detection
is more flexible with different safe margin values.

Character body motion changes in 2D and 3D:
-Recovery only for depth > min contact depth to help with collision
detection consistency (rest info could be lost if recovery was too much)
-Adaptive min contact depth (based on margin) instead of space parameter

Extra CharacterBody changes:
-2D: apply changes made in 3D for stop on slope and floor snap that help
fixing some jittering cases
-3D: fix minor inconsistencies in stop on slope and floor snap logic
2021-09-27 15:31:41 -07:00
..
area_2d_sw.cpp Initialize variables in servers/physics 2021-09-15 19:41:32 +02:00
area_2d_sw.h Initialize variables in servers/physics 2021-09-15 19:41:32 +02:00
area_pair_2d_sw.cpp One-directional layer check for Area vs. RigidBody/SoftBody/Area 2021-08-17 09:32:00 -07:00
area_pair_2d_sw.h One-directional layer check for Area vs. RigidBody/SoftBody/Area 2021-08-17 09:32:00 -07:00
body_2d_sw.cpp Proper support for custom mass properties in 2D/3D physics bodies 2021-09-06 10:20:16 -07:00
body_2d_sw.h Initialize variables in servers/physics 2021-09-15 19:41:32 +02:00
body_direct_state_2d_sw.cpp Proper support for custom mass properties in 2D/3D physics bodies 2021-09-06 10:20:16 -07:00
body_direct_state_2d_sw.h Proper support for custom mass properties in 2D/3D physics bodies 2021-09-06 10:20:16 -07:00
body_pair_2d_sw.cpp Fix RayShape collision detection 2021-08-24 16:03:05 -07:00
body_pair_2d_sw.h Initialize variables in servers/physics 2021-09-15 19:41:32 +02:00
broad_phase_2d_bvh.cpp Initialize variables in servers/physics 2021-09-15 19:41:32 +02:00
broad_phase_2d_bvh.h Initialize variables in servers/physics 2021-09-15 19:41:32 +02:00
broad_phase_2d_sw.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
broad_phase_2d_sw.h Dynamic BVH broadphase in 2D & 3D Godot Physics 2021-05-10 16:28:55 -07:00
collision_object_2d_sw.cpp Initialize variables in servers/physics 2021-09-15 19:41:32 +02:00
collision_object_2d_sw.h Initialize variables in servers/physics 2021-09-15 19:41:32 +02:00
collision_solver_2d_sat.cpp Merge pull request #52668 from qarmin/cppcheck_servers_physics 2021-09-16 09:06:03 -07:00
collision_solver_2d_sat.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
collision_solver_2d_sw.cpp Merge pull request #52668 from qarmin/cppcheck_servers_physics 2021-09-16 09:06:03 -07:00
collision_solver_2d_sw.h Rename WorldMarginShape to WorldBoundaryShape 2021-09-14 11:16:31 -07:00
constraint_2d_sw.h Initialize variables in servers/physics 2021-09-15 19:41:32 +02:00
joints_2d_sw.cpp Initialize variables in servers/physics 2021-09-15 19:41:32 +02:00
joints_2d_sw.h Initialize variables in servers/physics 2021-09-15 19:41:32 +02:00
physics_server_2d_sw.cpp Merge pull request #52668 from qarmin/cppcheck_servers_physics 2021-09-16 09:06:03 -07:00
physics_server_2d_sw.h Merge pull request #52668 from qarmin/cppcheck_servers_physics 2021-09-16 09:06:03 -07:00
physics_server_2d_wrap_mt.cpp Initialize variables in servers/physics 2021-09-15 19:41:32 +02:00
physics_server_2d_wrap_mt.h Merge pull request #52668 from qarmin/cppcheck_servers_physics 2021-09-16 09:06:03 -07:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
shape_2d_sw.cpp Merge pull request #52668 from qarmin/cppcheck_servers_physics 2021-09-16 09:06:03 -07:00
shape_2d_sw.h Merge pull request #52668 from qarmin/cppcheck_servers_physics 2021-09-16 09:06:03 -07:00
space_2d_sw.cpp Improved logic for CharacterBody collision recovery depth 2021-09-27 15:31:41 -07:00
space_2d_sw.h Improved logic for CharacterBody collision recovery depth 2021-09-27 15:31:41 -07:00
step_2d_sw.cpp Initialize variables in servers/physics 2021-09-15 19:41:32 +02:00
step_2d_sw.h Initialize variables in servers/physics 2021-09-15 19:41:32 +02:00