Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CollideRectPoly has some broken functionality #50

Open
Bobingstern opened this issue May 15, 2022 · 1 comment
Open

CollideRectPoly has some broken functionality #50

Bobingstern opened this issue May 15, 2022 · 1 comment

Comments

@Bobingstern
Copy link

When using the collideRectPoly method with the internalCollision option set to true, everything works fine until the rectangle is bigger than the polygon. Once the rect is bigger and the polygon is inside the rect, it will not result in an output even with the internalCollision option set. It works fine when the rect is smaller and is inside the polygon though. Not sure if this is intended or not but definitely caused some issues in my project and I had to switch to using collidePolyPoly. Example: https://editor.p5js.org/akgaming1322/sketches/-zQIP8tAj

@tanmay4269
Copy link

the link's broken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants