-
I tried following the steps mentioned in the readme file for trying out matterJS. I used the same code in codepen but im not seeing any boxes falling.
I can find a canvas inside document.body from …
-
Hello, I used Matter.js as the engine for my agario style game, but it starts lagging when I get 100+ players. Can anyone suggestion some practical tips for optimization for matter.js to reduce the CP…
-
I am having some trouble navigating the documentation and finding examples of proper usage of MatterJS. In the examples folder, there is this [code for creating an engine](https://github.com/liabru/ma…
-
I'm getting to grips with matterjs and I have made a very simple program where pressing any key applies some force to a circle. However, I'm getting very erratic bouncing. Try my code for yourself and…
-
> "Matter.js is a 2D physics engine for the web"
> _\- http://brm.io/matter-js/_
[But then](https://github.com/liabru/matter-js/wiki/Getting-started):
``` js
// create a Matter.js engine
var engine …
-
I am a little bit confuse about the coordinate system of matter.js.
It seems that the (0,0) in matter.js is not the top-left point of canvas.
So what's the original point in matter.js?
-
I'm integrating MatterJs into a react application that I've developed. I just ran into issue #226 . Since react first modifies its virtual dom before it updates the actual dom, the dom element doesn't…
-
I am trying to find the pair that are involved in a collision but event.pairs is empty in all 3 collision events.
Test repo - https://github.com/emaillenin/learn-matterjs
-
Did not find a way to manually stop the engine. I have tried to cancelAnimationFrame but the engine is still running. Even engine.enabled = false does not seem to have any effect.
I love matterjs but …