Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Fluid Particles interaction Script
#9
(20-11-2020, 01:22 PM)josemendez Wrote: This script already kills both particles when they come into contact.


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?

In the sample scene, only the blue particles got killed (or at least only yellow particles remaind..ill check, maybe not all particles came in contact). I didnt change the script, tried it first on the sample scene, worked, then on my scene (with my solvers) didnt work. Is it posible its my solvers/emitters problem?

Thanks!
Reply


Messages In This Thread
RE: Fluid Particles interaction Script - by JoseCarlos S - 20-11-2020, 01:47 PM