Andrey Zimin Posted December 20, 2017 Share Posted December 20, 2017 var keys = [] keys.push({ frame: 0, value: 0 }) keys.push({ frame: 10, value: 5 }) Good afternoon. There is such an array keys = [] (see up). And it has parameters "frame" and "value". What kind of options? What they do? Asking this question because I do not understand what this parameter is "value" different 100 implementation below. scene.beginAnimation(sphere, 0, 100, true) Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 20, 2017 Share Posted December 20, 2017 Value is the vector3 position The documentation can help you here http://doc.babylonjs.com/how_to/sequence Andrey Zimin 1 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 20, 2017 Share Posted December 20, 2017 basic documentation here http://doc.babylonjs.com/babylon101/animations JackFalcon 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.