2Dphysics polygon collider. Concave polygons are currently not supported. If it is a concave polygon, manually split it into multiple convex polygons first.
The maximum number of vertices is b2_maxPolygonVertices, which defaults to 8. So it is not recommended to exceed 8 points, and it cannot be less than 3.
The density value. The value can be zero or a positive number. It is recommended to use similar densities to improve stacking stability. The default value is 10.
En
2Dphysics polygon collider. Concave polygons are currently not supported. If it is a concave polygon, manually split it into multiple convex polygons first. The maximum number of vertices is
b2_maxPolygonVertices
, which defaults to 8. So it is not recommended to exceed 8 points, and it cannot be less than 3.Zh
2D物理多边形碰撞体,暂时不支持凹多边形,如果是凹多边形,先手动拆分为多个凸多边形。 节点个数最多是
b2_maxPolygonVertices
,这数值默认是8,所以点的数量不建议超过8个,也不能小于3个。