Jump to content

Matter JS is undefined - trying to recreate sandbox example


Recommended Posts

Hey guys,

I'm trying to recreate the example code in Phaser 3 from this sample code as it seems Matter.js is much better suited for what I'm trying to achieve than Arcade and wanted to just get an example working locally.


When I run this in my own project I get ` this.matter is undefined `

Is there a separate script I'm meant to include like there was in the dist folder for 'phaser-arcade-physics.js'  on the repo https://github.com/photonstorm/phaser/tree/master/dist

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...