Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Crashes when invMasses is set to zero
#4
(24-04-2021, 11:13 AM)momns Wrote: Thank you for your very quick reply, I appreciate it.
I'll share the Editor.log with you, it contains excerpts from just before and after the crash.


I also tried converting the particles to granular, but the crash still occurred.
Code:
for (int i = 0; i < emitter.solverIndices.Length; ++i){
int solverIndex = emitter.solverIndices[i];
emitter.solver.phases[solverIndex] &= (int)(~Oni.ParticleFlags.Fluid);
emitter.solver.invMasses[solverIndex] = 0;
}

Hi there,

Just tried the same code, but I'm unable to reproduce the bug. This works correctly for me.

Would it be possible for you to share the scene that causes this issue? You can send it to support(at)virtualmethodstudio.com.
Reply


Messages In This Thread
Crashes when invMasses is set to zero - by momns - 23-04-2021, 10:55 AM
RE: Crashes when invMasses is set to zero - by josemendez - 27-04-2021, 07:14 AM