20-11-2020, 01:22 PM
(This post was last modified: 20-11-2020, 01:25 PM by josemendez.)
(20-11-2020, 01:00 PM)JoseCarlos S Wrote: Nice! And if i wanted to kill both particles?
This script already kills both particles when they come into contact.
(20-11-2020, 01:00 PM)JoseCarlos S Wrote: On the sample it works perfectly, but on my own ObiSolver i get this fatal Error:
This is a compilation error. The error says you're trying to pass an object of type "ObiEmitter" into the emitter's KillParticle() method, which can only take a particle index (an integer) as argument, hence the code does not make sense to the compiler. This is not what the original script does, did you modify it?