summaryrefslogtreecommitdiff
path: root/thirdparty/vulkan
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-09-16 18:38:17 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-09-27 15:31:41 -0700
commitbf523a2b2aa958a4539646700f77f9375c4e8fa5 (patch)
tree4e2310df22908fb19e6ec08f039ce35f55a278e2 /thirdparty/vulkan
parentc1e6c2c49a7a2c05649d79733e7edda382aa92df (diff)
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
Diffstat (limited to 'thirdparty/vulkan')
0 files changed, 0 insertions, 0 deletions