RectColliderConfig
Defined in: tilemap/src/types.ts:62
All shape configs store x/y as the top-left corner of the object’s
bounding box (matching Tiled’s coordinate convention). toPhysicsColliders
converts to the center-origin offsets that Rapier expects.
Properties
Section titled “Properties”height
Section titled “height”height:
number
Defined in: tilemap/src/types.ts:67
type:
"rect"
Defined in: tilemap/src/types.ts:63
width:
number
Defined in: tilemap/src/types.ts:66
x:
number
Defined in: tilemap/src/types.ts:64
y:
number
Defined in: tilemap/src/types.ts:65