croustibat Posted October 25, 2016 Share Posted October 25, 2016 Hello! I just need to know if the following behavior is normal: http://www.babylonjs-playground.com/#2BJVDK#0 This playground will log the event mouse button pushed when clicking dragging the mouse on the scene. It logs '-1' is that an expected behavior? I use the scene pointer observable to get the mouse events: scene.onPointerObservable.add(pi=> { pi.type===4 && pi.event.buttons && console.log('dragging event, button:', pi.event.button); }); Edit: I noticed that on release 2.4.1 on the babylon npm package Thanks for your nice work on Babylon js! Bye Nabroski 1 Quote Link to comment Share on other sites More sharing options...
croustibat Posted October 25, 2016 Author Share Posted October 25, 2016 Hi! I found my problem. This is not a bug obviously. If someone encounter this issue, here was the cause: if you go to -> chrome://flags/, you can activate special chrome features such as GPU rendering etc. The following feature, once activated, broke the event system: chrome://flags/#enable-experimental-web-platform-features Don't!! Maybe this post shouldn't be in Bugs anymore! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.