Prozi / detect-collisions

Points, Lines, Boxes, Polygons (also hollow), Ellipses, Circles. RayCasting, offsets, rotation, scaling, bounding box padding, flags for static and ghost/trigger bodies
https://prozi.github.io/detect-collisions/
MIT License
206 stars 22 forks source link

Moving concave polygons doesn't work #42

Closed jmankopf closed 2 years ago

jmankopf commented 2 years ago

The position of the decomposed convex polygons are only set in the updateConvexPolygons() method, but not when updating the position of the body.

43

Prozi commented 2 years ago

good catch!

Prozi commented 2 years ago

merged your MR, rebuilt, and published new version as v6.6.8 with it

thank you

jmankopf commented 2 years ago

Thank you for your work!

Prozi commented 2 years ago

no problem thanks for contributing!

closing as resolved