Jump to content

[SOLVED] How to know an AnimationGroup is ended?


dingoogle
 Share

Recommended Posts

Hi guys,

I'm trying to add some animations in my project recently. I know that I can use onAnimationEnd in  beginAnimation function for a single mesh, but it seems that AnimationGroup is a good place to control multiple animations.

My question is how to know animations are ended in an AnimationGroup.  

onAnimationEndObservable doesn't do anything unless click "stop" button as below PB. 
https://www.babylonjs-playground.com/#EBMTX7
 
 
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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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