跳转到内容

decomposePolygon2D

此内容尚不支持你的语言。

decomposePolygon2D(vertices): PolygonDecomposition

Defined in: physics/polygonDecompose2D.ts:265

The convex pieces vertices collides as. A ring already convex and within the cap is ONE piece and the same points, so the common shape costs nothing and keeps the identity an author drew.

readonly Vec2[]

PolygonDecomposition