Tableuraz Posted September 24, 2015 Share Posted September 24, 2015 Hi there, I'm having a bit of a problem with camera controls and multiple scenes, I'm developping a web solution with multiple scenes (allowing me to lower memory and ressources usage and "removing" the dynamic light limit ).The only issue I'm having is that when switching from a scene to an other and locking the controls of the "old" scene with "old_scene.detachControl(renderCanvas, false);" the camera controls are still applied to the camera in the "old_scene".So, when I click and drag on the renderCanvas in a scene, the cameras in all scenes are rotating, even if the controls are supposed to be detached. I guess it's related to the way BabylonJS handles eventListeners... Any suggestion ?I can't really make a demo to show the issue for now, but I hope I was clear enough... Quote Link to comment Share on other sites More sharing options...
Tableuraz Posted September 24, 2015 Author Share Posted September 24, 2015 Nevermind, just always remember to make sure you don't have a function enabling the controls just after you disabled them.... If an admin comes and sees this, I guess he can delete the thread as it's not really usefull for anyone, sorry... 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.