Jump to content

CreateTube disappearing at panangles


chicagobob123
 Share

Recommended Posts

I am modifying positions of a tube I created on the fly.  

When the first point I created the tube with goes out of camera site the tube disappears. It looks like the bounding rect is not getting updated. 

Created it like this, 

 TraceRibbon=BABYLON.Mesh.CreateTube("TraceLine",TracePath,1.0,12,null,0,scene,true);

Update the path and positions of the points like the call this. 

TraceRibbon=BABYLON.Mesh.CreateTube(null,TracePath,1.0,null,null,null,null,null,null,TraceRibbon);

When I pan the camera and the FIRST position point is off the screen the tub disappears. 

Maybe a bounding box is not updated?  

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