Jump to content

LineMesh not showing if endpoint off camera


Recommended Posts

I have some line meshes that are just 2 vectors, one at the start and the other for the end. These lines then update every pre-render as they are between two objects that move.

I have noticed that when the end vector position is out of view of the camera then the line doesn't show.

Is this normal behaviour? How can I correct it so that the lines always render no matter if the end point is out of view or not?



Link to comment
Share on other sites

Hi K!  That sounds... non-normal.  hmm.  Can you make a playground that shows us the problem?

Here's a  playground that has lines connecting moving mesh.  Maybe it will help fix something.


It seems to keep drawing lines okay, even when control-dragging the camera until one of the mesh is out-of-view.

Maybe you can borrow a little code from there.  :) Good luck, report back.  thx.

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