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

Create colliders based on images #284

Open
quinton-ashley opened this issue Dec 19, 2023 · 0 comments
Open

Create colliders based on images #284

quinton-ashley opened this issue Dec 19, 2023 · 0 comments
Labels

Comments

@quinton-ashley
Copy link
Owner

Currently p5play can make a box collider based on the dimensions of an image.

But the idea of this feature would be to make colliders based on the outline of an object in an image with a transparent background. Users could have control over the maximum number of vertices the resulting collider polygons would have in total.

Typically, this isn't a good thing to do for performance reasons, and box and circle colliders work just fine in many cases, but this feature could be useful in specific cases.

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

No branches or pull requests

1 participant