Yesterday, 01:46 PM
(This post was last modified: Yesterday, 01:47 PM by josemendez.)
(Yesterday, 01:39 PM)Zavhoz Wrote: Hi!
How can you determine that in one emitter the particles are divided into several separate parts. And is it possible to obtain these groups of individual particles?
Regards!
Hi,
What do you mean? particles are not divisible, each particle remains a single entity throughout the simulation.
If you are referring to drops or blob-like formations, these emerge automatically from physical laws. There's no explicit tracking of those in Obi (or any existing fluid simulation engine that I'm aware of), pressure, viscosity and surface tension regulate how much the fluid tends to form drops. However there's no "list" of drops/blobs that you could access anywhere in the code, since the simulation does not need it for any purpose.
If you want to get a list of drops/blobs/isolated particles for gameplay reasons, you'll need to first determine what you consider to be a "drop" in your game, then create this list yourself.
kind regards,