跳转到内容

colliderShapeOutline

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

colliderShapeOutline(shape, center, angle, ppu): ColliderOutline

Defined in: physics/ColliderShape.ts:81

The shape’s outline in world pixels, rotated by angle about center (see shapeCenter). Straight-edged shapes return closed/open polylines; a circle returns a single {c, r} for the backend to stroke as an arc.

ColliderShape

Vec2

number

number

ColliderOutline