virtualx-engine/servers/physics
PouleyKetchoupp 2fbb6fff4e 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-07-19 08:09:16 -07:00
..
joints Style: Cleanup uses of double spaces between words 2021-06-07 12:06:59 +02:00
area_pair_sw.cpp Fix and clean disabled shapes handling in godot physics servers 2021-06-22 16:48:24 -07:00
area_pair_sw.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
area_sw.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
area_sw.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
body_pair_sw.cpp Fix and clean disabled shapes handling in godot physics servers 2021-06-22 16:48:24 -07:00
body_pair_sw.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
body_sw.cpp Ignore disabled shapes for mass property calculations 2021-06-17 17:17:05 -07:00
body_sw.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
broad_phase_basic.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
broad_phase_basic.h Fixed unnecessary bvh tree updates when calling set_pairable 2021-05-04 12:24:31 -07:00
broad_phase_bvh.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
broad_phase_bvh.h Fixed unnecessary bvh tree updates when calling set_pairable 2021-05-04 12:24:31 -07:00
broad_phase_octree.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
broad_phase_octree.h Fixed unnecessary bvh tree updates when calling set_pairable 2021-05-04 12:24:31 -07:00
broad_phase_sw.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
broad_phase_sw.h Fixed unnecessary bvh tree updates when calling set_pairable 2021-05-04 12:24:31 -07:00
collision_object_sw.cpp Fix and clean disabled shapes handling in godot physics servers 2021-06-22 16:48:24 -07:00
collision_object_sw.h Fix and clean disabled shapes handling in godot physics servers 2021-06-22 16:48:24 -07:00
collision_solver_sat.cpp Fix typos with codespell 2021-05-20 12:56:56 +02:00
collision_solver_sat.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
collision_solver_sw.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
collision_solver_sw.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
constraint_sw.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
gjk_epa.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
gjk_epa.h Fix Cylinder shape collision with margins when using GJK-EPA 2021-03-16 10:20:19 -07:00
joints_sw.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
physics_server_sw.cpp Add a method to set the number of physics solver iterations in 3D 2021-07-10 16:29:41 +02:00
physics_server_sw.h Add a method to set the number of physics solver iterations in 3D 2021-07-10 16:29:41 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
shape_sw.cpp Replace QuickHull with Bullet's convex hull computer. 2021-05-22 08:16:43 +02:00
shape_sw.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
space_sw.cpp Fix move_and_collide causing sliding on slopes 2021-07-19 08:09:16 -07:00
space_sw.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
step_sw.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
step_sw.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00