0 votes

I'm having a lot of trouble with the function BitMap.opaquetopolygons() which should generate a list of polygons from a bitmap. However, it can sometimes error with "Convex decomposing failed" or simply miss out large sections of the Bitmap if there are certain pixel configurations.

Are there any alternatives, or other code to generate pixels (or StaticBody2Ds) from a Bitmap?

Godot version 3.4.2
in Engine by (43 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.