Options
All
  • Public
  • Public/Protected
  • All
Menu

Simple wrapper over Matter.js physics. Ties in with tilemaps to generate physics bodies for them.

Index

Type Aliases

MatterWorldDefinition: Partial<Matter.IEngineDefinition & { spaceScale: number }>

Functions

  • drawColliders(weight?: number, arrowRatio?: number, d?: P5DrawTarget): void
  • init(_options?: Partial<IEngineDefinition & { spaceScale: number }>): void
  • update(delta: number): void

Generated using TypeDoc