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.
Parameters
Section titled “Parameters”center
Section titled “center”number
number