I need to make a simple adjustment to a script, but I am quite new to it so i am having difficulty. basically I need to check the collision on more than Sphere01 , I also need sphere02 and sphere03. I tried adding them after sphere one as
if ( object == Sphere01, Sphere02 ):
but that seems to break the script and the particles enter the container as soon as they are emitted.
Code: Select all
particle = Circle01.getFirstParticle()
object = particle.getCollidingObject()
if ( object == Sphere01 ):
particle = particle.getNextParticle()