Working on a project utilizing the physics engine. I’ve got a large number of spheres (Sphere(s) A) that drop into a box. One sphere (Sphere B) is then dropped into the box. Any sphere A that is touched by sphere B changes to the color of sphere B, i.e. green to red (sphere C). I’ve got that part down. I’m trying to get any sphere C to pass that color on to sphere(s) A that haven’t been touched by Sphere B. Ideally the color change would cascade from 4 or 5 spheres all through the 100 or so I have in the box.
I don’t have a real strong python background and so the first part I’ve managed through logic bricks, but I think I’m going to need python to tell sphere A to not change if touching another sphere A, but to change when touched by Sphere C.
Major problem for me seems to be creating a unique property/identity for sphere C that is only activated by touching Sphere B first. but that can then propogate outward.
Any suggestions? Even just pointing me in the right direction would help.