piqnt / planck.js

2D JavaScript Physics Engine
http://piqnt.com/planck.js/
MIT License
4.87k stars 236 forks source link

feat: add ShapeCast function #247

Closed zOadT closed 1 year ago

zOadT commented 1 year ago

This is part of Box2d 2.4.1. There is currently a bug in my implementation, will take a look at it later again.

zOadT commented 1 year ago

Think I found the problem, the test is wrong. Will try to fix it tomorrow!

zOadT commented 1 year ago

Works now, but the example has to be made a bit more accessible