-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2D KinematicBody slides down slope with move_and_slide_with_snap #31097
Comments
It's definitely caused by the application of the collider's |
CC @madmiraal |
Godot version: 3.1.1 Stable
OS/device including version: Manjaro Arch Linux (Linux 4.19.62-1 Kernel)
Issue description: When using the snapping feature of move_and_slide_with_snap it seems that there's some kind of artifact movement on slopes that occurs as a result of snapping. It does not happen when snapping is not used. Its not caused by the velocity of my 2D kinematic body directly, however it appears higher velocities of the body coming towards the slope (like gravity) does greatly effect the possibility of it happening. (beyond sliding) If stop_on_slope is false it appears to move faster but does not otherwise change the effect.
https://gfycat.com/klutzycorruptdeermouse
Steps to reproduce:
In a 2D platformer setup, while using move_and_slide_with_snap for movement, have the body snapped to a slope after falling.
Minimal reproduction project:
snapping_testing.zip
The text was updated successfully, but these errors were encountered: