Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Fluid Particles interaction Script
#8
(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?
Reply


Messages In This Thread
RE: Fluid Particles interaction Script - by josemendez - 20-11-2020, 01:22 PM