Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Support for PolygonCollider2D?
#1
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!
Reply
#2
(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).

Thanks!

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.
Reply
#3
(02-04-2019, 07:39 AM)josemendez Wrote: 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.

Thanks for the info!  Good to know.  Hopefully Unity will extend that.  It seems like something that they should have done.
Reply