Boolean operations on PolygonColliders
Hello everybody :D
The title pretty much says it all.
Is there a way to use boolean operations on Polygoncolliders2D or do you know any algorithms for this in general.
I need:
A and B
A but not B
intersetcion of A and B
(A and B beeing colliders or polygons, of course)
I have been working on this for half a year now and i cant figure it out. The internet is also quite scarce with rescources on this.
So... do you have an idea? :D
Answer by ComradeVanti · Apr 12, 2017 at 03:00 PM
To anyone also struggeling with this problem:
I have now resided to just use the openscource "clipper" library. It does all you want with pretty much no errors.
So just download that and implement it into your project. Honestly I cant be bothered to write my own algorithms if there is already one out there :P
Good luck folks
Hi, Have you done it? or where you find the solution. I am trying to do that but nothing find to me.