Obi Official Forum

Full Version: Amount of liquid in bucket
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,can you help me about calculating about amount of liquid in bucket?
Thank you,

[Image: Ekran-Resmi-2020-08-01-22-20-59.png]
(01-08-2020, 08:30 PM)0xhex Wrote: [ -> ]Hello,can you help me about calculating about amount of liquid in bucket?
Thank you,

[Image: Ekran-Resmi-2020-08-01-22-20-59.png]

When you say "amount", do you mean number of particles, volume, or some other quantity?

To measure this, you can use a trigger collider encompassing the bucket, then subscribe to the solver's OnCollision event and detect all particles inside the trigger. See:
http://obi.virtualmethodstudio.com/tutor...sions.html