Hello!
I am currently working on a scene, where I would like to separate the particles, which is collide with an object, and I would like to ask your help. I have a Square emitter, and a Container and an object which is moving.
When the Square emitter particle collide with the object, transfer it to the Container emitter. If there is some filter daemon option or other possible solution without python it would also be great.
I attach my basics of the code:
Code:
obj1 = scene.getObject("obj1")
emitter = scene.getEmitter("Square01")
container_emitter = scene.getEmitter("Container01")
particle = emitter.getFirstParticle()
while (particle):
??
particle = particle.getNextParticle()
I don't know which code will do this for me in the loop. I checked the scripting reference, but I can't find anything good in PB Emitter page.
Thank you, and have a great day!