Gil Posted April 13, 2017 Share Posted April 13, 2017 Hello, 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 ? Quote Link to comment Share on other sites More sharing options...
Gil Posted April 13, 2017 Author Share Posted April 13, 2017 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 : http://www.babylonjs-playground.com/#HPV2TZ#6 Loving Babylon Maybe it could be added to the documentation ? Maybe I even could push it in to the documentation :p. I will check. Wingnut 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 13, 2017 Share Posted April 13, 2017 Please do..This is what I prefer we are a team Gil 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.