JCPalmer Posted August 3, 2014 Share Posted August 3, 2014 When testure mentioned pausing in the 'What do you want in Babylon' thread, I realized that Automaton would actually be contributing to the problem. I have made & tested a mechanism at the static level to perform this. My button code is: function pausePlay() { if (BABYLON.Automaton.isPaused())BABYLON.Automaton.resumePlay(); else BABYLON.Automaton.pausePlay(); }Pausing at the system level might be pretty easy, just don't do anything. Actually calling BABYLON.Automaton.pausePlay() is optional, as long as beforeRender()'s are not being called. BABYLON.Automaton.resumePlay() is not optional. Some type of resumePlay() may be needed to Animations, but what else would there be? 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.