Closed Alucard648 closed 8 years ago
Okay, now I finally figured out why this happens:
and now I idea how to completely resolve this! So, instead do lot of post-checks crap-code, I must rerun collision check loop to recheck all previously collided elements, and when after resolving of slope collision, detected a new floor/ceiling collision - I will resolve it in any way, but also with resolving of minimal available height to avoid burring into floor/ceiling
Self-fixed item 1 when I implemented better algorithm of corner collision resolving However, fixing of 1'st item in issue #4 is not easy especially that happens when character flying with |speed X| == |speed Y| and touches corner of rectangular block without touching triangles. Anyway, one idea I have - don't apply speed and store new speed into separated variable. But apply it only when slope collision has been detected
All bugs in this list are been fixed