talaesun Posted May 21, 2016 Share Posted May 21, 2016 Hello, I'm testing to export bone animation from Blender to babylon.js. Animation in Blender works well ( sample_0.gif ), but it doesn't work well in babylon.js ( sample_1.gif). It seems the rotation axis is incorrect or the relationship between parent bone and child bone is not well. Do I have to set some values or something in blender or babylon.js? *enviroment babylon.2.3.js / blender 2.76 / blender exporter 4.5.0 / windows 10 / chrome if there were similar topics, please let me know. Regards Quote Link to comment Share on other sites More sharing options...
adam Posted May 21, 2016 Share Posted May 21, 2016 Make sure you have applied rotation, scale, rotation to your mesh and skeleton before exporting. Quote Link to comment Share on other sites More sharing options...
talaesun Posted May 21, 2016 Author Share Posted May 21, 2016 Hello , Adam Thank you! As you said , I only applied rotation & scale to my meshes. After applying these to my all bones too, it seems to work fine. I'll try to make more complex animations! Samuel Girardin 1 Quote Link to comment Share on other sites More sharing options...
dbawel Posted May 22, 2016 Share Posted May 22, 2016 @talaesun - If I could make a recommendation as you are obviously early in your development of this character - please freeze all bone and mesh transforms to a value of 1 before animating - but definately before exporting to .babylon If you aren't already doing this religiously, then you will find your life a whole lot easier, as many developers aren't entirely familiar with the process of freezing all transforms in Blender (or any CGI app) and how essential this is in the short and long term. Just an FYI for anyone reading this. DB 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.