Jump to content

Can someone help me with my VEX code about addprim?


Smicksus

Recommended Posts

Hi peeps,

For a project I'm working on a trail system where I want to draw lines from one point object to another. I followed a tutorial from Entegma explaining how to do this and it works well.
Only in my project I want the lines not to be drawn on the points from the whole object that are also in this search radius. If you look at the image you can see the red lines. I only want the light blue lines.
Also in the image is the VEX code. Can someone help me solve this problem?

Thanks in advance!

ww.PNG

Link to comment
Share on other sites

16 hours ago, krishna avril said:

use blast to delete primitives based on the color

@Cd.z>0.1

or even use the removeprim vex code

Thank you, This works!
I also tried working with a connect adjacent pieces SOP and made it work with that aswell 
Thank you for your reply :)

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.

×
×
  • Create New...