Obi Official Forum
Help Obi Fluid Stickiness - 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: Help Obi Fluid Stickiness (/thread-2407.html)



Obi Fluid Stickiness - muzzammilnaeem - 06-08-2020

Hi,
I'm using Obi fluid version 5.4 
i have like 400 small cubes in a bucket and has set the viscosity of the fluid to 1
What i want is the fluid to stick to objects can you please guide me on how to do this.
like i wanna do is put some fluid on the cubes in the first picture i have made in the bucket but want it to be sticked on it
but getting the 2nd picture result..
Thanks..

1st picture link : https://drive.google.com/file/d/1Oux3-En7svlnkIJnMRhGiS3EwJ_aWjUJ/view?usp=sharing

2nd picture link : https://drive.google.com/file/d/1s1IqElPLAQrU5FhvkMI5t-MkeOFTZGIG/view?usp=sharing


RE: Obi Fluid Stickiness - josemendez - 06-08-2020

(06-08-2020, 12:10 PM)muzzammilnaeem Wrote: Hi,
I'm using Obi fluid version 5.4 
i have like 400 small cubes in a bucket and has set the viscosity of the fluid to 1
What i want is the fluid to stick to objects can you please guide me on how to do this.
Thanks..

Hi there,

Stickiness is not an internal fluid property (unlike viscosity), but a collision property.

Use a custom collision material for your emitter, then set its friction and stickiness to around 0.8 and stick distance to 0.02. Check the collisions manual page for more info:
http://obi.virtualmethodstudio.com/tutorials/collisions.html

Also check the FluidViscosity sample scene for a fluid that's both viscous and sticky.


RE: Obi Fluid Stickiness - muzzammilnaeem - 06-08-2020

(06-08-2020, 12:19 PM)josemendez Wrote: Hi there,

Stickiness is not an internal fluid property (unlike viscosity), but a collision property.

Use a custom collision material for your emitter, then set its friction and stickiness to around 0.8 and stick distance to 0.02. Check the collisions manual page for more info:
http://obi.virtualmethodstudio.com/tutorials/collisions.html

Also check the FluidViscosity sample scene for a fluid that's both viscous and sticky.
https://drive.google.com/file/d/1s1IqElPLAQrU5FhvkMI5t-MkeOFTZGIG/view?usp=sharing

Hi jose,
I have one more question regarding the issue can u please view the link and suggest me more about that i'm new to using this plugin..

https://drive.google.com/file/d/1s1IqElPLAQrU5FhvkMI5t-MkeOFTZGIG/view?usp=sharing


RE: Obi Fluid Stickiness - josemendez - 06-08-2020

(06-08-2020, 12:22 PM)muzzammilnaeem Wrote: https://drive.google.com/file/d/1s1IqElPLAQrU5FhvkMI5t-MkeOFTZGIG/view?usp=sharing

Hi jose,
I have one more question regarding the issue can u please view the link and suggest me more about that i'm new to using this plugin..

https://drive.google.com/file/d/1s1IqElPLAQrU5FhvkMI5t-MkeOFTZGIG/view?usp=sharing

Hi there,

The link is just a screenshot of a bowl with fluid and some ice cubes, what exactly do you need help with?


RE: Obi Fluid Stickiness - muzzammilnaeem - 06-08-2020

(06-08-2020, 12:31 PM)josemendez Wrote: Hi there,

The link is just a screenshot of a bowl with fluid and some ice cubes, what exactly do you need help with?
Hi there,
I don't want the fluid to go into the bowl but to be attached to the ice cubes..
like a juice on the ice cubes.

not juice filled with ice cubes..


RE: Obi Fluid Stickiness - josemendez - 06-08-2020

(06-08-2020, 12:34 PM)muzzammilnaeem Wrote: Hi there,
I don't want the fluid to go into the bowl but to be attached to the ice cubes..
like a juice on the ice cubes.

not juice filled with ice cubes..

You can have the fluid stick to the cubes by setting the collision material stickiness, but it won't be perfectly attached to it like a parented transform would. Is this what you were looking for, kinda like a coating?


RE: Obi Fluid Stickiness - muzzammilnaeem - 06-08-2020

(06-08-2020, 12:39 PM)josemendez Wrote: You can have the fluid stick to the cubes by setting the collision material stickiness, but it won't be perfectly attached to it like a parented transform would. Is this what you were looking for, kinda like a coating?

yes like coating the cubes with fluid


RE: Obi Fluid Stickiness - josemendez - 06-08-2020

(06-08-2020, 12:44 PM)muzzammilnaeem Wrote: yes like coating the cubes with fluid

Then why do you need it to be fluid, if it's going to be a solid coating around the cubes?  Huh Using a simple mesh on top of the cubes would be way simpler...

If you want to retain the fluid-like motion, using stickiness is the way to go then.


RE: Obi Fluid Stickiness - muzzammilnaeem - 06-08-2020

I'm gonna go with the fluid like motion it's more realistic.
Thanks for your help..
Almost getting there Sonrisa