The changes contained in this pull request have proven necessary for aabb-segment-sweep1.js to work properly, especially when used to collide and slide an aabb against multiple segments. Changes are as follow:
the value of the PADDING constant (it's much lower)
the resulting contact delta is set from hit normal rather than from the normalized initial sweep delta
The changes contained in this pull request have proven necessary for aabb-segment-sweep1.js to work properly, especially when used to collide and slide an aabb against multiple segments. Changes are as follow: