phaselock Posted November 23, 2017 Share Posted November 23, 2017 Hi, I've gone through the stuff on skeleton animations on the babylon docs, virtually all examples involve some form of scene.registerBeforeRender or scene.registerAfterRender stuff. I would like to make an humanoid character, say, pathfind and start walking from A and then stopping automatically at B. So, the usual way to do it in C# or other languages is to have the character be at rest pose at A, blend into walk pose and then blend into rest pose at B with the waypoints given. I found that babylon scene.registerBefore/AfterRender calls will not run when the browser tab is not active. So I could have my AI start walking, tab out and then to tab back after a few minutes to find that it hadn't left Point A yet. I'm new to animating characters on the web and tried to solve it in the PG (with the dude) but can't seem to animate his position without pausing when browser tab is not active. How should I go about solving this issue ? Quote Link to comment Share on other sites More sharing options...
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.