erincatto / box2d

Box2D is a 2D physics engine for games
https://box2d.org
MIT License
8.16k stars 1.53k forks source link

Warmstart GJK fails #734

Closed NStenum closed 1 month ago

NStenum commented 1 year ago

Make sure these boxes are checked before submitting your issue - thank you!

NStenum commented 1 year ago

Getmetric for 3 points may return a negative number which will make readcache reset simplex. Suggest using sqr values which will speedup getmetric for 2 points. Also, when resetting simplex - keep first simplexvertex instead of picking new arbitrary points

erincatto commented 1 month ago

Closing out v2 issues since it is no longer supported.