virtualx-engine/servers/physics_2d
PouleyKetchoupp 9758a75221 Fix move_and_collide causing sliding on slopes
Make sure the direction of the motion is preserved, unless the depth is
higher than the margin, which means the body needs depenetration in any
direction.

Also changed move_and_slide to avoid sliding on the first motion, in
order to avoid issues with unstable position on ground when jumping.

Co-authored-by: fabriceci <fabricecipolla@gmail.com>
2021-06-28 17:17:52 -07:00
..
area_2d_sw.cpp Merge pull request #44695 from madmiraal/fix-44632 2021-03-26 16:34:02 +01:00
area_2d_sw.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
area_pair_2d_sw.cpp Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
area_pair_2d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
body_2d_sw.cpp More explanatory names for RigidBody modes 2021-06-04 11:40:36 -07:00
body_2d_sw.h Unexpose _direct_state_changed in PhysicsBody 2021-04-22 23:20:58 -05:00
body_pair_2d_sw.cpp Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
body_pair_2d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
broad_phase_2d_bvh.cpp Dynamic BVH broadphase in 2D & 3D Godot Physics 2021-05-10 16:28:55 -07:00
broad_phase_2d_bvh.h Dynamic BVH broadphase in 2D & 3D Godot Physics 2021-05-10 16:28:55 -07: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 Dynamic BVH broadphase in 2D & 3D Godot Physics 2021-05-10 16:28:55 -07:00
collision_object_2d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
collision_solver_2d_sat.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
collision_solver_2d_sat.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
collision_solver_2d_sw.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
collision_solver_2d_sw.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
constraint_2d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
joints_2d_sw.cpp Rename Vector2 clamped to limit_length and add limit_length to Vector3 2021-06-03 12:04:57 -04:00
joints_2d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
physics_server_2d_sw.cpp Enable setting of collision iterations in PhysicsServer2D 2021-05-19 10:54:10 -04:00
physics_server_2d_sw.h Safe margin cleanup 2021-06-04 11:40:36 -07:00
physics_server_2d_wrap_mt.cpp Refactor CommandQueueMT 2021-06-09 13:10:49 -03:00
physics_server_2d_wrap_mt.h Enable setting of collision iterations in PhysicsServer2D 2021-05-19 10:54:10 -04:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
shape_2d_sw.cpp Merge pull request #47678 from madmiraal/fix-47436.1 2021-04-06 22:35:49 +02:00
shape_2d_sw.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
space_2d_sw.cpp Fix move_and_collide causing sliding on slopes 2021-06-28 17:17:52 -07:00
space_2d_sw.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
step_2d_sw.cpp Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
step_2d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00