Sometimes, when running into a solid wall, the player will jitter. The most evident side effect when that happens is lots of small transient contacts being reported. Therefore, don't slide against small collisions. As a bonus, don't make a copy of each contact while we're calculating the sliding normal.
Sometimes, when running into a solid wall, the player will jitter. The most evident side effect when that happens is lots of small transient contacts being reported. Therefore, don't slide against small collisions. As a bonus, don't make a copy of each contact while we're calculating the sliding normal.