Support for PolygonCollider2D? - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Softbody (https://obi.virtualmethodstudio.com/forum/forum-12.html) +--- Thread: Support for PolygonCollider2D? (/thread-1034.html) |
Support for PolygonCollider2D? - PuppyPuppyPuppy - 01-04-2019 I was wondering if there are plans at some point to include support for PolygonCollider 2D. The documentation says that this is the only type of collider not currently supported. It would be useful in 2D projects, especially with the attention Unity is giving with things like SpriteShapes (which currently use either edge colliders or poly 2D colliders). Thanks! RE: Support for PolygonCollider2D? - josemendez - 02-04-2019 (01-04-2019, 06:29 PM)PuppyPuppyPuppy Wrote: I was wondering if there are plans at some point to include support for PolygonCollider 2D. The documentation says that this is the only type of collider not currently supported. It would be useful in 2D projects, especially with the attention Unity is giving with things like SpriteShapes (which currently use either edge colliders or poly 2D colliders). Hi! We don't support it because Unity lacks a way of getting enough info about the collider, so we cannot replicate its shape inside our physics engine. Once Unity extends its API to be able to get a list of triangles/polys that make up the collider we'll be able to support it, which is certainly in our plans. RE: Support for PolygonCollider2D? - PuppyPuppyPuppy - 02-04-2019 (02-04-2019, 07:39 AM)josemendez Wrote: Hi! Thanks for the info! Good to know. Hopefully Unity will extend that. It seems like something that they should have done. |