Obi Official Forum

Full Version: IDea for measure fluid volume?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
um, sorry for my short English.. i purchased it Yesterday, but i really want to get this information hurry.
For example,
I want Measure fluid Particle volum in bowl.
Or want measure fluid Particle weight in bowl.

Is there any Api Support? or Devleop Idea?
(02-11-2017, 05:16 PM)cyy1133 Wrote: [ -> ]um, sorry for my short English.. i purchased it Yesterday, but i really want to get this information hurry.
For example,
I want Measure fluid Particle volum in bowl.
Or want  measure fluid Particle weight in bowl.

Is there any Api Support? or Devleop Idea?

Just count the amount of particles inside a trigger collider, and add their masses together.
To get the volume, divide the accumulated mass by the fluid material's rest density.

You can use the collisions API to detect which particles are inside a trigger:
http://obi.virtualmethodstudio.com/tutor...sions.html

cheers,