Genbox / VelcroPhysics

High performance 2D collision detection system with realistic physics responses.
MIT License
666 stars 113 forks source link

Distance calculation is wrong #21

Closed Genbox closed 7 years ago

Genbox commented 7 years ago

While creating the benchmark in #20 I noticed a problem with the distance calculation in Velcro.

image

image

Genbox commented 7 years ago

Seems like the gift wrapping of the polygons changes the vertices of the polygon.