mossawi Posted September 10, 2020 Share Posted September 10, 2020 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! Quote Link to comment Share on other sites More sharing options...
Librarian Posted September 10, 2020 Share Posted September 10, 2020 Use chops and trigger You have example here ..search Please Quote Link to comment Share on other sites More sharing options...
mossawi Posted September 10, 2020 Author Share Posted September 10, 2020 1 hour ago, Librarian said: Use chops and trigger You have example here ..search Please Thanks, sorry my bad By the way was there a link? Couldnt find it in search Quote Link to comment Share on other sites More sharing options...
ronit1996 Posted September 11, 2020 Share Posted September 11, 2020 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. Quote Link to comment Share on other sites More sharing options...
mossawi Posted September 11, 2020 Author Share Posted September 11, 2020 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. Quote Link to comment Share on other sites More sharing options...
Librarian Posted September 11, 2020 Share Posted September 11, 2020 (edited) here you go Adidas Dude distance.hip Edited September 11, 2020 by Librarian Quote Link to comment Share on other sites More sharing options...
mossawi Posted September 11, 2020 Author Share Posted September 11, 2020 37 minutes ago, Librarian said: here you go Adidas Dude distance.hip hahaha thanks man!! Now I need to figure out who you are Appreciate it! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.