Jump to content

Babylon Exporter from Max removes camera animations in GLTF export


mr_pinc
 Share

Recommended Posts

Hi,
Cameras and their animations are exported to glTF format. However, cameras are not loaded by the Babylon loader from gltf.

The cameras are not loaded but a dummy (empty mesh) is created to preserve hierarchy. This means that if you add a box as child to an animated camera, you will see the box moving.

When you drag&drop the exported gltf files into the Babylon Sandbox, the camera used is created automatically and is not related to any gltf data.

Finally, array property like 'animations' can't be seen inside the Inspector (the debug and performance layer) of the sandbox. However, you can retreive the animations using the console (press F12 > console tab > write something like this: engine.scenes[0].getMeshByName("Camera001") ).

Link to comment
Share on other sites

  • 2 weeks later...

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