跳转到内容

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.

readonly Vec2[]

Vec2[]