Jump to content

repeating animation


brianzinn
 Share

Recommended Posts

Not sure this is a bug, but why would I only in some cases need to clear the animations array?  I have created a PG to repro:

http://www.babylonjs-playground.com/#7F54UH#4 (see line 151)

Basically the yellow box keeps replaying the 'position.z' animation, while the orange box that has the animations cleared is working as intended.  If this is a confirmed bug, I am happy to try to create a PR.  I am expecting in the callback on animation completion to have the 'position.z' animation removed (or only played once).  cheers.

Edited by brianzinn
PG link was a version off
Link to comment
Share on other sites

  • 2 weeks later...

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