Jump to content

Maya .Babylon Export Changing Material with JS Breaks Animation


lagauche
 Share

Recommended Posts

Firstly, sorry I don't have my code in front of me, but I'm wondering/thinking this is a bug.

I exported a skinned mesh avatar from Maya to *.babylon format with an animation. When I load the model into babylon.js it displays and the animation begins and loops as expected.

The bug is that when I change the material on any mesh from the imported skinned mesh consisting of multiple meshes (eyes, clothes, body etc) those particular meshes just stay in place. They no longer animate, but the rest of the meshes with the original imported material do animate just fine.

Any ideas?

In case it is relevant, I was replacing the imported material with a GLSL shader. Changing the material did work fine and in this case the avatars clothes became a GLSL texture that has some values which change over time, but again the cloth meshes just stay in place while the rest of my avatar animates.

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