feat: supports collision filtering
I implemented a group method similar to box2d collision filtering that uses only bit operations, ensuring minimal performance impact. The stress demo has also been updated for observing the results.
I'll be using this functionality but unsure if others will also need it ~
I didn't include dist / docs in the commit due to potential conflicts with multiple PRs, but I'm unsure if it's more convenient for you.
this is quite interesting and I mostly like it
I will clone adjust and merge
see this in a few days @noih !!
thank you for pull request !!
awesome MR I've read all
I plan to move:
Box: dec("0000 0000 0000 0001"),
Circle: dec("0000 0000 0000 0010"),
Ellipse: dec("0000 0000 0000 0100"),
Line: dec("0000 0000 0000 1000"),
Polygon: dec("0000 0000 0001 0000"),
to some export in lib
and reuse it
then build dist and docs
thanks @noih !!
also
"I'll be using this functionality but unsure if others will also need it" was basically why I started making opensource
actually I don't see any breakin changes here SO YOLO I MERGE AND THEN UPDATE
@noih published https://github.com/Prozi/detect-collisions/releases/tag/v9.6.0