[Bug]: Big rocks push small rocks through the floor #3105
Labels
category:code
good first issue
Good for first-time contributors
involves:physics
priority:high
type:bug
SuperTux Version
SuperTux Latest Nightly
System Information
Windows 10 64-bit
Expected Behavior
When big rocks are stacked on top of smaller rocks, they should not push the smaller rocks through the floor.
Actual Behavior
When big rocks are stacked on top of smaller rocks, they push the smaller rocks through the floor.
Steps To Reproduce Actual Behavior
Take a big rock and place it on top of a smaller rock.
Additional Information
This is probably a result of the MovingStatic collision changes I made earlier this spring, so it might be worthy to add a check to not let bigger movingstatics push smaller movingstatics through movingstatics that are larger than the small one, or normal statics.
Guidelines For Reporting Issues
The text was updated successfully, but these errors were encountered: