Jump to content

Recommended Posts

Can you share a PG with your glb in it (you can reference it from github for instance)?

This will help us understand what you expect and what could be wrong

Same for the timing issue regarding loading

Link to comment
Share on other sites

https://www.babylonjs-playground.com/#PSR2ZX#18

Just figure out how to load asset file from github...

New find, when I try to change the animation weight with the sliders: 

If BABYLON.Animation.AllowMatrixDecomposeForInterpolation = true, I get "TypeError: runtimeAnimation.currentValue.decompose is not a function". 

If BABYLON.Animation.AllowMatrixDecomposeForInterpolation = false, I get "TypeError: this.rotationQuaternion.toRotationMatrix is not a function". 

Neither of them happened with ufo.glb,  so I guess that ufo's animations don't get certain transformation involved. 

 

About the loading, if you check scene.animationGroups before line 80, you will find that only the first animation._animatables were there. I'm not sure whether it's working as designed. Maybe I missed certain event... 

Thanks. 

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