Jump to content

Error "length" in Babylon (visibleInstances)


Dad72
 Share

Recommended Posts

Hi,

 

I receive an error in babylon has line 7 at the level of \"length\" to this line of code

for(var k=c.visibleInstances[a._id],l=0;l<k.length;l++){    var m=k[l];    m.getWorldMatrix().copyToArray(this._worldMatricesInstancesArray,h),h+=16,i++}
Link to comment
Share on other sites

I have no link to my project. It is local and is huge with a database...

But I try a previous version, it works very well. so the problem is not in my code.

 

Erreur: Uncaught TypeError: Cannot read property 'length' of null

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