Jump to content

Changing color of objects


mossawi

Recommended Posts

Hi guys,

I have a group of spheres filling an object, and I have 1 sphere that is animated going in and out of that sphere.

Is there a way that I can let the color of the scattered spheres change based on their proximity with the animated sphere?

Thanks!

Link to comment
Share on other sites

3 hours ago, ronit1996 said:

you just need to calculate the distance of the scattered sphere from the animated sphere and then you can change colors based on the distance, should be pretty simple with a few lines of vex.

Thanks, any examples you can kindly share, im not very familiar with Vex yet. Thanks.

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