satguru Posted November 29, 2016 Share Posted November 29, 2016 scene.onPointerDown and ActionManager do not work well with each other. When an ActionManager is added to a mesh, the mesh becomes unpickable by the onPointerDown function see playground example http://www.babylonjs-playground.com/#1UTZEV#13 with lines 42 to 53 commented out everything works fine. The sphere is pickable. Click the sphere and check the console message. It shows it was picked un-comment only line 42.The sphere is no longer pickable. un-comment line 42 to 47. sphere becomes pickable. un-comment line 42 to 53. sphere becomes unpickable. Please check. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 29, 2016 Share Posted November 29, 2016 Hello I have a slightly (but still buggy) result. If I uncomment from 42 to 53 it works The problem seems to happen when only line 42 is uncommented. I'll check it now Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 29, 2016 Share Posted November 29, 2016 Fixed! Quote Link to comment Share on other sites More sharing options...
satguru Posted November 30, 2016 Author Share Posted November 30, 2016 works fine now. thanks Wingnut 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.