Dad72 Posted May 26, 2015 Share Posted May 26, 2015 Hi, Pick do not want to work with Firefox when I'm on an Iframe. it works very well with Google Chrome, but not Firefox.Here is a demo from a base of the playground. I did not reproduce on the playground because of the Iframe. Linkhttp://www.castorengine.com/babylon/pick_iframe/index.html In advance, Thanks very much Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 26, 2015 Author Share Posted May 26, 2015 I have other problems iframe for videotextures on firefox. It works with Chrome. seems to work now Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 27, 2015 Author Share Posted May 27, 2015 I solved the problem by using: scene.pointerX & scene.pointerY instead of evt.offsetX & evt.offsetY and I change the EventListener "mousedown" by "pointerdown" and It Works. But by the way Firefox has become a real shit. everything works very well with google chrome but with Firefox, I have various little problem, for example when I select an object, the camera follows the movement of my mouse (without click on the scene), I do not know why? Any idea why ? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 27, 2015 Share Posted May 27, 2015 Handling mouse was always a pain in the ass with Firefox Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 27, 2015 Author Share Posted May 27, 2015 yeah, it's not easy to be compatible with Chrome, Firefox and Internet Explorer. It should the same standard on every browser, but it's a sweet dream I feel. GameMonetize 1 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.