Sign in to follow this  

Import and start mesh keyframe animation from Blender

Recommended Posts

I have imported a Blender scene which has a mesh with an animation (consisting of just a few keyframes) and I am looking to control the animation, however I have been unsuccessful. The only resources I have been able to find relate to using skeletons imported from Blender, not basic keyframe animations (unless I am missing something?).

Example playground:

The animation data is located on line 20 of the playground.

I have tried calling scene.beginAnimation('rotation animation', 0, 30, true); in the scene.executeWhenReady function to no avail.

Hopefully somebody can help? Thanks!

Share this post

Link to post
Share on other sites

Thanks for this - I initially struggled to work out what you'd done - but then realised....


1) extract the JSON text out of the babylon file from Blender and then add the mesh elements to be animated.  :)


I've now got a 4 mesh model with 3 parts which are animated and one which isn't all loaded and working..! :)


Cheers, thanks for sharing!


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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.