Search Unity

More than 8 points for a 2D polygon collider

Discussion in 'Physics' started by Nifflas, Jan 23, 2016.

  1. Nifflas

    Nifflas

    Joined:
    Jun 13, 2013
    Posts:
    118
    It seems Unity split polygons with more than 8 points even if convex. In a current project I work on, compound shapes causes various incorrect edge collision problems in a context where the only truly elegant and non-hacky solution is a single convex 12-point polygon. I know it's supported by Box2D by changing b2_maxPolyVertices in b2Settings.h, but is there any way to change this in Unity?