Instead of relying on physics to slide the round collider around a corner, find the corner with raycasts and swing the slime around it on a quarter circle at crawling speed, rotating the sprite along with it. - Hanging on a ceiling lip + up: swing onto the wall above. - Climbing up past the top of a wall: swing over onto the floor on top. - Tapping up up to 0.15s before reaching a lip still counts. - Falls back to the old behaviour if the corner can't be found or there is no room at the end of the swing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| player.gd | ||
| player.gd.uid | ||
| player.tscn | ||