Disable self collision on granular particles - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Fluid (https://obi.virtualmethodstudio.com/forum/forum-3.html) +--- Thread: Disable self collision on granular particles (/thread-4076.html) |
Disable self collision on granular particles - 413866 - 14-12-2023 I want to disable self collisions on my granular particles. I found a thread where you explained using the emitter.solverPhases but this is no longer a property. I tried doing the same with solver.phases as I assumed it was moved but this causes the particles to fall through the collider RE: Disable self collision on granular particles - josemendez - 14-12-2023 (14-12-2023, 09:53 AM)413866 Wrote: I want to disable self collisions on my granular particles. You can globally disable particle collisions in the solver, by unchecking "particle collision constraints" in the constraints foldout. In case you want to disable collisions for specific particles only, you do this by setting solver.phases indeed. However you must only zero-out the flags, while keeping the collision group intact: Code: int group = ObiUtils.GetGroupFromPhase(solver.phases[index]); kind regards, |