Jump to content

Help with vex


Recommended Posts

Hi Guys,

I would like to ask your help for some code.

i have some primitives (constraints) disposed like an umbrella (one on top and many on the bottom, disposed round-is (like an umbrella).

Imagine now a sphere going along the scene, when the sphere touches any of the extreme points, il would like to transfer a parameter from the sphere to ALL the connected points.

I think I figured out how to do it but I don't know the code: I would like to know how to, having one of the 2 points of the segment, to know what is the number of the opposite point.

Thank you! Cheers!
Lazza

Link to comment
Share on other sites

Yes, that is similar. Almost what I want.

The difference is that I would like also the 2 stars that are touched bu the polygon, fully become red.

I see in your video that when they are touched just one or 2 legs become red. I would like that if one leg becomes red, all the other legs connected do.

Thank you very much!!!

Cheers!
Lazza79

2017-03-17_174030.png

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