Jump to content

set custom mesh updatable


Recommended Posts

I create  mesh by   new BABYLON.Mesh(name, scene) and i need to update it's positions.

in the documentation the constructor has no updatable flag, i tried to update the positions by mesh.updateVerticesData but the changes has no effect.

how i could set is updatable ?

Link to comment
Share on other sites

Hi and welcome to the forum. When you do


You need to add a true parameter

vertexData.applyToMesh(customMesh, true);


If you have been following these tutorial



this information was missing - good spot - will correct.

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.

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.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...