JavaScript wall collision on convex shapes, getting stuck at corner
问题 The bounty expires tomorrow . Answers to this question are eligible for a +50 reputation bounty. bluejayke wants to draw more attention to this question. this is a follow up to this other question: How do I handle player collision with corners of a wall In inspiration of the code given in its answer, I tried to write some new code. Basically, in the original, the wall sliding works very well on the inside of the walls, but I wanted to make it work on the outside as well, so I made a new basic