diff options
author | Ricardo Buring <ricardo.buring@gmail.com> | 2024-04-19 19:40:01 +0200 |
---|---|---|
committer | Ricardo Buring <ricardo.buring@gmail.com> | 2024-04-19 19:40:01 +0200 |
commit | 80c600d86b6fed05fdb35d5dd95267a8a95fe74d (patch) | |
tree | 78651b54d39467bb6a7c2c434b20f192af8c5b73 /modules/regex/regex.cpp | |
parent | 4a0160241fd0c1e874e297f6b08676cf0761e5e8 (diff) | |
download | redot-engine-80c600d86b6fed05fdb35d5dd95267a8a95fe74d.tar.gz |
Fix move_and_slide wall slide acceleration (3D)
When travel is high enough, keep the global position resulting from the
move_and_collide call, and set the motion to the remainder from the
move_and_collide call. This ensures travel is taken into account once,
rather than twice.
Diffstat (limited to 'modules/regex/regex.cpp')
0 files changed, 0 insertions, 0 deletions