matter-js icon indicating copy to clipboard operation
matter-js copied to clipboard

a 2D rigid body physics engine for the web ▲● ■

Results 212 matter-js issues
Sort by recently updated
recently updated
newest added

I created a game using the matter js engine. Everything works great, but after showing ads (admob or unity ads), the game starts to slow down. Even if we remove...

Fix for sleeping collision end event as discussed in #1077. Branch includes an [alpha build](https://github.com/liabru/matter-js/tree/fix/sleeping-collision-end/build) ready for testing and review of anybody affected looking to try out this fix and...

discuss
need-test
alpha-build

Title explains all . What is the unit used in applyForce and setVelocity? newtons and m/s?

## Problem Currently when setParts is run, it sets the position and positionPrev to the new total parts centre values. This is fine when the body is stable/constant when being...

I needed to render a background image directly onto the canvas so that I could capture gameplay video including backgrounds using HTMLCanvasElement.captureStream() in my physics based game: https://joegaffey.itch.io/bugvsboxes I would...

This simple yet intuitive addition enables you to toggle whether or not to rotate the sprite along with the rigidbody. I was working on a simulation where I have different...

When creating a body from vertices, if there is a duplicate point in the vertex list, the body will not collide with anything. While I suppose this isn't ideal input,...

feature-request
docs

I've been learning MatterJS recently for work on a research project, and although the documentation is alright and explaining methods and properties, it always just links to giant JS files...

bug
question
improve

If `enableSleeping` is set `Composite.removeBody` behaves weirdly: http://codepen.io/anon/pen/QjpQEj?editors=001 I'm not sure what the right fix here is, waking up every body every time an element is removed sounds expensive.

bug
investigate

Hello, I'm trying out, experimenting with matter.js, and I've come across an issue. I have a static rectangle for the ground, and then I have a function that spawns a...

need-more-info