Jump to content

Mesh Animation is not working by TOB exporter from Blender


Fantacytc
 Share

Recommended Posts

Hi

I'm currently working on a simple game avatar animation using Blender (2.79) with the TOB exporter.
The animation works perfectly in blender. However when TOB exporting to a BJS rendering canvas, It is hard to find the skeleton info of mesh / armatures even after using MeshFactory and instance function. Somehow I just don't find any function named like "defineskeleton" being called. I'm curious whether I miss something here so that the animation doesn't work !

Are there any step-by-step tutorials getting started for using TOB exporter .js file with blender animations?
I found some resources such as scene.beginAnimation, mesh.skeleton.beginAnimation but no success!


This is the playground I made 

https://willlinifm.github.io/Skeleton_Animation/

and .js file

https://willlinifm.github.io/Skeleton_Animation/bone3.js

Thank you so much:)

Have a nice day!

Link to comment
Share on other sites

Looks like your gameavatar  Mesh is finding an armature.  I also see only positions, normals, & UV's being written.  No matrix weights or indices.  Without  .blend or log file, can only guess:

  • The Armature modifier on the mesh has been removed (though you say it is animating)
  • You checked the ignore skeleton check in custom properties
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.

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