Jump to content

Modifying Line Mesh Points


Recommended Posts

Hey! I am wondering what I am doing wrong here.  ( Pan camera from left to right in the playground to see the line mesh disapearing)


Basically I want to create a line mesh then alter the points positions later on

First I created the line mesh with all points at Zero then I modified the path using this:

 mesh = BABYLON.Mesh.CreateLines(null, path, null, null, mesh);

which works successfully but the problem is  whenever the original line mesh is not in view of the camera( At point Zero) the line mesh is disappearing.


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