17-02-2025, 03:00 PM
First off, I just want to say how amazing Obi Fluid is! I've had so much fun creating various liquids for my projects—huge thanks for the fantastic work. Keep it up! 
The Issue:
I initially ran into an issue with the compute backend struggling when handling a large number of colliders in the scene. The fluid wouldn't collide with anything, but I found a fix on the forum by adjusting:
This resolved the problem, but only up to a certain number of particles.
My Setup:
Would love any insights on improving stability and handling high particle counts effectively. Thanks in advance! ?

The Issue:
I initially ran into an issue with the compute backend struggling when handling a large number of colliders in the scene. The fluid wouldn't collide with anything, but I found a fix on the forum by adjusting:
Code:
#define MAX_CONTACTS_PER_SIMPLEX 32 → 512
My Setup:
- Colliders: ~150 (mostly Box Colliders), positioned close together.
- Fluid Resolution: 3
- Particle Count: Around 185k particles—at this point, the fluid starts ignoring colliders and becomes jittery.
- Instability at High Particle Count
- Even with a high-end GPU, the compute backend becomes unpredictable when the particle count increases.
- Reducing the resolution only delays the breaking point.
- Even with a high-end GPU, the compute backend becomes unpredictable when the particle count increases.
- Collisions Causing Jitter
- The fluid behaves erratically when colliding with many objects, even with particle count around 100k.
- This jitteriness leads to excessive foam generation.
- The fluid behaves erratically when colliding with many objects, even with particle count around 100k.
Would love any insights on improving stability and handling high particle counts effectively. Thanks in advance! ?