Jump to content

Complex animation

syed samoon

Recommended Posts

Hi Everyone,

i have a doubt. i'm using complex animation. i want to play, stop and restart based on the situation,

i was refer the documentation  https://doc.babylonjs.com/babylon101/animations

my script was given below but i was not running. is there anything wrong in this script

idleAnim = scene.beginAnimation(player.skeleton, 0, 60, true, 1.0);
Link to comment
Share on other sites

playerJump= scene.beginAnimation(player.skeleton, 157, 176, false);

playerRender = function(){
                      if (player.moveUp) {
                            jumpScoreAdded = false;






this is my script but animation is not running and there is no more errors in console


Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...