Jump to content
Sign in to follow this  
mossawi

Changing color of objects

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!

Share this post


Link to post
Share on other sites

Use chops and trigger You have example here ..search Please:wub:

Share this post


Link to post
Share on other sites
1 hour ago, Librarian said:

Use chops and trigger You have example here ..search Please:wub:

Thanks, sorry my bad :D

By the way was there a link? Couldnt find it in search :)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
37 minutes ago, Librarian said:

here you go Adidas Dude :ph34r::wub:
 

distance.hip

hahaha thanks man!! Now I need to figure out who you are :o:P

Appreciate it!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×