Jump to content

Bug since latest preview release (animation related ???)


meteoritool
 Share

Recommended Posts

Hi,

Latest preview release has a 'fatal' bug for my scene, it's unclear on why, but it is triggered when my character should move.
Here's the console log :

Uncaught TypeError: Cannot read property 'm' of undefined
    at e.multiplyToRef (babylon.js:2)
    at Function.e.ComposeToRef (babylon.js:2)
    at i._processLateAnimationBindingsForMatrices (babylon.js:13)
    at i._processLateAnimationBindings (babylon.js:13)
    at i._animate (babylon.js:13)
    at i.render (babylon.js:14)
    at index2.js:116
    at n._renderLoop (babylon.js:6)

My guess is that it's probably a bug since it used to work before last update...

Thanks for your help !

Link to comment
Share on other sites

Here's PG based on the weighted animations demo :

https://www.babylonjs-playground.com/#IQN716#26

Wait for the model to load, it should be idle.
All 3 weighted animations are begun and stored in an Javascript array animsCont[ ]

Clicking anywhere on the scene should trigger an anmation change by setting animsCont[1].weight

It used to work fine but lately it has returned the error this PG is showing...

 

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