PolygonColliderConfig
Defined in: tilemap/src/types.ts:169
Closed convex outline (still passed through Rapier’s convexHull).
Use polyline for non-convex shapes; see PolylineColliderConfig.
Properties
Section titled “Properties”type:
"polygon"
Defined in: tilemap/src/types.ts:170
vertices
Section titled “vertices”vertices:
object[]
Defined in: tilemap/src/types.ts:173
x:
number
y:
number
x:
number
Defined in: tilemap/src/types.ts:171
y:
number
Defined in: tilemap/src/types.ts:172
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/tilemap.md.