Search the Community
Showing results for tags 'timedelta'.
-
This is my first post here and to begin with, I'd like to give big congratulations to Babylon.js team ! Your framework is really impressive and the best yet for my use case (pedagogical web game about simple astronomy facts) Now, my problem: http://babylonjs-playground.com/#1QJOWT#1 I can't find a way for positioning the camera correctly according to the computed scene graph before the render... so the sphere at the center is jittering, and it gets worse if we increase the speed parameter. The complete system looks like this: http://babylonjs-playground.com/#1QJOWT#3 I want the camera to stay at earth position and to center on the moon. I've tried fiddling with scene.beforeCameraRender with no success... I guess I don't understand something about the internal priorities used before rendering each frame. c.f. the not working: http://babylonjs-playground.com/#1QJOWT#2 I've searched the forum but couldn't find any solution. Maybe it's related to: or ? http://www.html5gamedevs.com/topic/5509-how-do-you-guys-write-your-timestep-stuff-any-advice/ Thanks a lot for any help if anyone has a clue ! Thanks anyway to the babylon engine community !