RedMax Posted March 29, 2017 Share Posted March 29, 2017 Hi I'm struggling with bone animations after I merged some meshes. Maybe you can quickly point me to why this will never work. Here is the example playground: http://www.babylonjs-playground.com/#10OJSG#16 So one dude is normally animated and the one with combined meshes (I know that the material doesn't match, but it shouldn't matter) has very creepy animations. Where does it go wrong? Thank you Quote Link to comment Share on other sites More sharing options...
JohnK Posted March 29, 2017 Share Posted March 29, 2017 Hi and welcome from me to the forum. Cannot really help with your problem (but would guess because when you merge the meshes you form one mesh with one local origin rather than seperate bones with their own local origins). However I just wanted to say what a great monster mergeDude makes, like a walking giant insect. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 29, 2017 Share Posted March 29, 2017 Hello unfortunately bones require each mesh to have a specific world matrix Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted March 29, 2017 Share Posted March 29, 2017 This is of order. You apply scaling too early. I only merged the children. See. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 29, 2017 Share Posted March 29, 2017 oh yeah this is why the world matrices were broken. 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.