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
Abrupt slide off on platform #17916
Comments
Just update your
|
Thank you, that works. Would it be possible to update the documentation on move_and_slide, and the the tutorial for a kinematic character? The documentation is not very clear, and the tutorial makes no mention of having to set the velocity to the return value. |
@vinf100 please be more specific, what documentation do you want updated? As Physics Introduction Line 416 shows
How do you think the documentation should be changed? |
Maybe this could be mentioned in the class reference to make it more obvious, but I'm not sure how exactly. |
Seems like overlooked physics issue |
Godot version:
3.0
OS/device including version:
Ubuntu 17.10
Issue description:
When using a kinematic body, when the body goes over the edge, instead of smoothly falling, it abruptly drops very quickly. This is unrelated to gravity, as changing the gravity constant has no effect. Also, when the character jumps, the gravity works as expected.
Steps to reproduce:
Have a platform with a collision box and a static body. Have a kinematic body, with a script for movement (using move_and_slide) and gravity, go over the edge of the platform.
Minimal reproduction project:
Test.zip
The text was updated successfully, but these errors were encountered: