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

Mesh substraction issue #12

Open
OddSphere opened this issue Feb 10, 2020 · 1 comment
Open

Mesh substraction issue #12

OddSphere opened this issue Feb 10, 2020 · 1 comment

Comments

@OddSphere
Copy link

OddSphere commented Feb 10, 2020

I have two meshes generated at runtime from a set of vertices and triangles. When I try to substract the second mesh (the eyebrow area)

Screenshot_13
from the first one (the mask)
Screenshot_11

the resulting mesh is broken like in the screenshot.
Screenshot_12

Is there something I'm missing or doing wrong? The meshes are created as 2d meshes, then ProBuilderized and the faces are extruded.

@karl-
Copy link
Owner

karl- commented Feb 12, 2020

It would probably be easier to do this just using the ProBuilder API, see https://docs.unity3d.com/Packages/[email protected]/api/UnityEngine.ProBuilder.MeshOperations.DeleteElements.html

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