This worked in BabylonJS 4.2.x but doesn’t work in the current branch (5.15.1 is the latest at this moment).
You can try to switch versions in the following playground:
This worked in BabylonJS 4.2.x but doesn’t work in the current branch (5.15.1 is the latest at this moment).
You can try to switch versions in the following playground:
I am able to get the mouse 4 and 5 buttons to work but there’s something odd about their activation so let me take a look and see what’s going on.
So here’s an update. There was an issue with how the 4 and 5 buttons was being caught. What I thought was working was actually a bit of a coincidence and was actually related to the buttons
property, I believe. In any case, I’ve created a PR to fix the issue: InputManager: Added mouse buttons 4 and 5 to InputManager mouse handling by PolygonalSun · Pull Request #12765 · BabylonJS/Babylon.js (github.com)
PR is merged