summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/gdscript_test_runner_suite.h
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-06-24 19:25:26 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-06-28 17:17:52 -0700
commit9758a75221854b5ed533bc826ebba1beb7f8cf3f (patch)
treeab97850a4d0afb7e25c1a22f1f35e00e78b28e37 /modules/gdscript/tests/gdscript_test_runner_suite.h
parent92f20fd70e6957cd65ccb7837fdc28f9b1e4a315 (diff)
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>
Diffstat (limited to 'modules/gdscript/tests/gdscript_test_runner_suite.h')
0 files changed, 0 insertions, 0 deletions