darcome Posted November 7, 2014 Share Posted November 7, 2014 Hello guys, here you'll find an example of a thing I don't understand: http://ludem.net/babylon/index2.html if you move around the camera and then press the reset button, the camera returns to its initial position, but if you open the firefox console, or whatever, you'll see that the functions MoveCamera and ZoomCamera are called twice... why? What do I do wrong? Thanks in advance Quote Link to comment Share on other sites More sharing options...
darcome Posted November 7, 2014 Author Share Posted November 7, 2014 I thought it could be that the animations array of the activeCamera could contain the old animations, so in the ZoomCamera, I empty it, but without success... Quote Link to comment Share on other sites More sharing options...
darcome Posted November 7, 2014 Author Share Posted November 7, 2014 and... I am using 2.0 alpha... sorry for the replies... Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 7, 2014 Share Posted November 7, 2014 This is because there are 2 animations so they both raise onAnimationEnd 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.