Open EnceladusX2 opened 2 months ago
I'll try to look into this this weekend.
Did some testing and seem to have boiled this down to the angle collected from collision normals being slightly inconsistent. Logically that makes sense, but with the way this framework handles sprite rotation that's not good. It might be worth just reworking sprite rotation instead of rewriting how the ground angle is collected.
When moving along any sloped surface that would change the player's visual angle, their sprite rotation tends to reset to 0 at what feels like random intervals. It's definitely not intended behavior.
https://github.com/user-attachments/assets/e71cfc7d-3158-4e68-a4de-4f3720d37ee3