Jump to content

Bugs animations Rotation Blender in BabylonJS


Recommended Posts

Hi everyone,

I have a new problem.

My scene is finished and I need to animate several meshes.

When I use "Location" animation, always is good but if I use a "Rotation" animation, all objects animated become wrong. Here an example with screen shots :

Cas 1. Start animation rotation of plan mesh (in background of the scene, selected in Blender in orange) :


Cas 2. first rotation like we open a door :


Cas 3. back to origin position :


cas 4 : after export, many problems and same render like here in babylonJS :


You can see all meshes animated are offset or anything else ... What I'm doing wrong please ?

Thanks !


Link to comment
Share on other sites

@Zino54220 : Some suggestions following similar experiences I encountered where objects jump after export, I think I solved it by:

Apply the scale of the offending objects: Ctrl + A, Scale (always the first thing I'd try)

I guess this door is parented? If so, try unparenting it. If it's not parented, then parent it... best to try both - just in case.

If after trying the above and it still not working, you can create a new scene (in a new file) and appending: File > Append all the objects from the old scene.

PS. And as per above post, make sure animation name is ObjectName-Action.


Edited by babbleon
Link to comment
Share on other sites

Thank you very much for your answers.

I found the solution after trying your methods.

First, I have rename the vertex groups like this : "objetc_Data".

Then, just go to the "Animation" tab, click on "calculate" below "Motion path" which then becomes "update", click on "bake action" and leave the default setting. We can see that after the manipulation, several "Key Frames" are automatically created on the animated objects.

After that, you will have the right animations for the rotations and no impact on the other objects already animated.


I hope however that these added "Key frames" won't make the scene too heavy because I had already made a topic about display performance issues when I first loaded the scene once deployed on Azure.

Thank you all once again ! :)



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.

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.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...