Matter.js is probably the simplest solution. There’s a plugin to add slope support to Arcade, but it’s only for Phaser 2 / CE.
The code in the example you’ve found is not hard to port to Phaser 3 if you want to avoid Matter.js. The logic is the same, but game.physics.arcade would change to this.physics. The intersect method is available on the world, this.physics.world.
Hi there, this might be a little bit late to the topic, but after trying out Matterjs and finding out there are a few problems with ghost collisions and all of that… I came back to Arcade Physics again
I picked up that example from above and tried out implementing it on Phaser3
Here is the result https://codesandbox.io/s/994ze