computePolygonHull
此内容尚不支持你的语言。
computePolygonHull(
vertices):Vec2[]
Defined in: physics/polygonHull2D.ts:72
The convex hull Box2D builds from vertices, counter-clockwise, in metres.
Empty when Box2D builds no shape: fewer than three vertices survive welding,
or every surviving one is collinear.
Parameters
Section titled “Parameters”vertices
Section titled “vertices”readonly Vec2[]
Returns
Section titled “Returns”Vec2[]