DinkeyKing / Improved-KCC

Custom kinematic character controller with step functionality, for Godot.
MIT License
34 stars 2 forks source link

Acute corner angles causes way too much slide iterations #8

Open DinkeyKing opened 1 week ago

DinkeyKing commented 1 week ago

The problem is nicely described here: https://arxiv.org/pdf/1211.0059 ... But the correct solution is described here: https://github.com/godotengine/godot-proposals/discussions/9646 This of course stems from the not so good implementation of the sliding algorithm inside the engine, which I based mine on.

I think the best way to deal with this is to reimplement the sliding algorithm, so it takes multiple sliding planes into consideration, instead of just one.