Recommended Posts

Hi everyone,

I start learning to use your software because he is really interesting and usefull but I encounter a serious problem with blender export animation.

So I create some asset and put them little simple, but when I export the file and put it in babylon, all the animation are compiled in one and apply in all the assets;

Let me show you with screen shots.

As you can see in the first screen the asset have their own animation but in the 2 and 3 screenshot they have all animation of all the assets

 

Is there a solution about that ?

I'll be glad if someone as an answer, thanks you very much and have a nice day.

 

Screenshot_1.png

Screenshot_2.png

Screenshot_3.png

Share this post


Link to post
Share on other sites

If this is the .babylon exporter, all actions that are identified as for a given object are strung together (with gaps).  See your log file for ranges.  Call each by named range (beginAnimation call):

skeleton = scene.getSkeletonByName("bonesCharacter");
skeleton.beginAnimation("Walk");

When there is only one object with an action assigned, nothing to do,  but when you have more than one mesh being animated, you must name each action, so the exporter can figure out which belongs to what, e.g. 'meshname-myaction'.

If you just wish the current action assigned to be run against all objects, check:

sceneTab.JPG.92d983f3d7892846ee39cebfd443a91f.JPG

If you are using the glTF exporter, ignore.

Share this post


Link to post
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...

  • Recently Browsing   0 members

    No registered users viewing this page.