@modoki/engine / index / ColliderShape2D
Type Alias: ColliderShape2D
ColliderShape2D =
"circle"|"box"|"capsule"|"polygon"|"polyline"|"concave"
Collider shape. circle/box/capsule are primitives; polygon is the convex hull of points (valid on any body); polyline is a static OPEN edge chain built from points (concave terrain/walls — no interior mass, so use on static bodies); concave decomposes points into convex pieces (poly-decomp) → a compound of convex-hull colliders, so a DYNAMIC body can have a genuine concave solid shape.