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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.