Jump to content

New version of BJS camera error


TomaszFurca
 Share

Recommended Posts

Hi, last time i post three bugs. Today i want to start with develop next features to my game. Begin from update babylon to latest version. On stable version my game works, but on 4.0 alpha i got error after load scene. 

Stack trace:

babylon.max.js:7723 Uncaught TypeError: Cannot read property 'm' of undefined
    at Matrix.multiplyToRef (babylon.max.js:7723)
    at Mesh.TransformNode.computeWorldMatrix (babylon.max.js:20641)
    at Scene._evaluateActiveMeshes (babylon.max.js:28963)
    at Scene._renderForCamera (babylon.max.js:29064)
    at Scene._processSubCameras (babylon.max.js:29146)
    at Scene.render (babylon.max.js:29344)

 

Link to comment
Share on other sites

Unfortunately i can't reproduce that on PG that, because it no happen there. It only stop working when i run my game on 4+ version. How can i help you to debug that?

 

Just found what generate this error:

This is bone of player mesh skeleton

and cannot find that:

if (this._transformToBoneReferal) {
                        this._localWorld.multiplyToRef(this.parent.getWorldMatrix(), BABYLON.Tmp.Matrix[6]);
                        BABYLON.Tmp.Matrix[6].multiplyToRef(this._transformToBoneReferal.getWorldMatrix(), this._worldMatrix);
                    }

BABYLON.Tmp.Matrix[6] is undefined

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