Phaser 3 Slopes Plugin
A Phaser 3 Plugin that smooths out MatterJS Tilemap Layer collisions.
🛠 This plugin is under development. Feel free to report any issues that you find.
Install the plugin as a dependency of your project using npm.
npm install phaser-slopes
Load the plugin into your Scene.
You can use Phaser to load the plugin as a script if you're not using npm for dependency management.
Any MatterJS Tilemap Layers you create within the Scene will automatically collide smoothly with other physics bodies.