Quantcast
Channel: Cineversity
Viewing all articles
Browse latest Browse all 2156

Animating Spheres that Change Color on Collision

$
0
0

Hello there.  New to C4D so bear with me.  I’m trying to create an animation where there are blue spheres (say 500 total) and red spheres (12 to start) moving around in an enclosed sphere.  I’d like the blue spheres to permanently change to red, when they come into contact or close proximity to a red sphere.  Then every time a red comes into contact with a blue, it changes to blue to red.  Basically showing an exponential growth of red spheres - so 12 turn into 24, 48, 96, etc. 
I’ve tried extensively to figure this out, going thru many tutorials but my skills are lacking.  If I use particle emitters, I don’t know how to individually change the spheres when they collide. 

I’m trying to create a 3D animation similar to the 2D one in the article below (different data, different scenario). In the first main animation of the 200 person town, one or two sick dots (orange) collide with the blue dots (healthy) and turn the dots orange, and so on, until the entire town is orange.  We have tried using a particle effect, or cloner, but cannot figure out the right way to set up the collider, that changes the color on collision, stays that color, then change other blue to orange.  Have been able to set up one object changing another, but not to this scale with so many spheres.  Also, not literate in xpresso, but certainly want to learn.  Thanks!!

https://www.washingtonpost.com/graphics/2020/world/corona-simulator/


Viewing all articles
Browse latest Browse all 2156

Trending Articles