Jump to content

Blender exporter V.5 multiple animations issues


max123
 Share

Recommended Posts

Hi guys, 

I'm new to Babylon - decided to switch from three.js as it feels it's getting less and less love from its parents, unfortunately :)

Here's my issue. I need to animate a pump being assembled, so no bones - just plain keyframes for position/rotation which I'm doing in Blender. The trouble is, all meshes generated by the exporter share each other's animations, and as a result, all positions/rotations are messed up when imported into BJS. 

I tried SceneLoader.Load, I tried SceneLoader.Append and then bring in meshes from another .babylon file - all to no avail. 

Now, if I start the animations in BJS straight away, all seems fine. But the animation part needs to be user initiated. I've come up with a hack, as you will see in the attached zip, but it looks ugly and there's a jump in the scene.

 

This is how the scene should look when it starts (correct):
1.jpg

 

This is what it looks like (incorrect):
2.jpg

I'm including the zip with files, just 2 objects animated to illustrate the issue.

 

I have a few more questions/suggestions, but let's start with this one :)

 

Regards

Archive.zip

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