matter-collision-events icon indicating copy to clipboard operation
matter-collision-events copied to clipboard

A Matter.js plugin for adding per-body collision events and event handlers.

Results 9 matter-collision-events issues
Sort by recently updated
recently updated
newest added

When the body is multipart, the event didn't get sent to the top body.

Getting error "Plugin.dependencies: matter-collision-events used by [email protected] could not be resolved." I noticed a there was a previous suggestion to ignore error. I dont have access to the Body.onCollide function...

If I create a Matter physics object, and add a collision event listener, the collision event gets fired for EVERY collision in the world, instead of just the one object...

Since `matter-tools` is only used is the demo, it should be a devDependency. Currently, when the `matter-collision-events` package is installed it will pull along `matter-tools` and all its dependencies. This...

- Make matter.js a peerDependency. In my setup Rollup was bundling two versions of matter.js because of this. - Make matter-tools a devDependency (fixes #5)

Enabling this plugin should maybe be a bit more clear, I had the same problem in issue #4. I figure it's simple enough to update the README so that no...

Hello, I've installed the plugin using: **yarn add matter-collision-events**. Then I attempt to require/import the plugin, however Matter does not seem to recognize the plugin when imported. I've tried the...

``` matter-js: (6) "Plugin.use:" "[email protected]" "is for" "matter-js@^0.12.0" "but installed on" "[email protected]." info — matter.js:4610 ```