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

Rocks now apply friction when on the ground #1946

Merged
merged 1 commit into from
Dec 15, 2021

Conversation

Semphriss
Copy link
Member

Prior to this PR, a rock falling on the ground while in a wind area that affects objects would instantly loose all its velocity upon hitting the ground, then it would slowly accelerate in the direction of the wind and would keep its velocity as long as it stayed in contact with the ground. With this PR, while on the ground, rocks will loose a certain amount of their velocity each frame.

Fixes #1899

Prior to this commit, a rock falling on the ground while in a wind area that affects objects would instantly loose all its velocity upon hitting the ground, then it would slowly accelerate in the direction of the wind and would keep its velocity as long as it stayed in contact with the ground. With this commit, while on the ground, rocks will loose a certain amount of their velocity each frame.
@weluvgoatz weluvgoatz added the type:bugfix Pull Requests that fix bugs. label Dec 15, 2021
@tobbi tobbi merged commit 29c096c into SuperTux:master Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bugfix Pull Requests that fix bugs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rocks and wind interaction bugs
3 participants