Skip to content
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

Fix #53255 when a body gets stuck when it hits a descending platform in 2D/3D #53272

Merged
merged 1 commit into from
Oct 1, 2021

Conversation

fabriceci
Copy link
Contributor

fix #53255

This patch applies the vertical velocity of a downward platform when the body hit the ceiling. It also handles the option slide_on_ceiling by only applying the vertical velocity when it’s relevant.

Before:

before

After:

after

@fabriceci fabriceci requested review from pouleyKetchoupp and a team and removed request for a team September 30, 2021 22:41
Copy link
Contributor

@pouleyKetchoupp pouleyKetchoupp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@pouleyKetchoupp pouleyKetchoupp merged commit 9543289 into godotengine:master Oct 1, 2021
@pouleyKetchoupp
Copy link
Contributor

Does this PR also close #49387?

@fabriceci fabriceci deleted the bug-platform-ceiling branch October 2, 2021 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Body seems get stuck on the ceiling of descending moving platform
2 participants