Jump to content

morphTarget animation


Recommended Posts


I would like to animate a morphTarget by setting up an animation.

When I try to push the aniamtion to the morphTarget it failed with an error.
I thought I would need to animate on it since that's his .influence value that we change to morph the mesh.

I did a PG if someone could contribute : http://www.babylonjs-playground.com/#HPV2TZ#5


What am I missing ?

Link to comment
Share on other sites

Alright, I'm just stupid :).

I added 

target0.animations = [];

so it's set as an array so that we can push the animations in it.


Working PG :


Loving Babylon :)

Maybe it could be added to the documentation ?
Maybe I even could push it in to the documentation :p. I will check.

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