A mini tutorial from Emanuele Feronato about creating Matter Phyics Bodies.

Article by Richard Davey. Posted on 17th Apr 2018.   @photonstorm


From Emanuele Feronato: "One of the new Phaser 3 features is Matter.js, a 2D rigid body physics engine for the web written directly in JavaScript – this means it wasn’t ported from another language like it has been done with Box2D.

As usual, the first example of a physics engine is the “create a crate / remove a crate” script.

Touch the canvas in an empty spot to create a crate, or touch a crate to remove it."

Read More