SuperTux / supertux

SuperTux source code
https://supertux.org
GNU General Public License v3.0
2.47k stars 472 forks source link

Fixes growups changing direction when landing on a slope #2996

Open Brockengespenst opened 3 days ago

Brockengespenst commented 3 days ago

Adapted the collision check similar to WalkingBadguy to decide if direction should be changed. This includes taking the slope normal into account.

Fixes https://github.com/SuperTux/supertux/issues/2994