However, for this sim ( http://vimeo.com/44053138 ) I had the object's sticky at 1000 and it's roughness as 1.0. For the emitter I had a res of 15, viscosity of 80 & surface tension of 60. These values were based on a default scene scale & circle emitter size.

_________________Otuama - Vimeo'Strength does not come from physical capacity. It comes from an indomitable will.' - Gandhi'Realism is in the eye of the beholder' - Me

The code I posted was only a quick example. For the mud gun video I didn't use any script for the sticking on the wall. I just used the values I posted earlier. The only script I used with that sim was an emitter tracking a null ( https://vimeo.com/39926708 ).

It worked very well without scripting and can just be used with a stream of particles from an emitter.

_________________Otuama - Vimeo'Strength does not come from physical capacity. It comes from an indomitable will.' - Gandhi'Realism is in the eye of the beholder' - Me

Last edited by Otuama on Thu Jan 10, 2013 8:56 pm, edited 1 time in total.

What I'm trying to do is have an object dunked in a fluid about half way, like a car being stuck in the mud, and when the car is pulled, the wheels and other parts of the car have the mud particles stuck to the car's polygons.

I just did a test with 4 cylinders (wheels?) going half way into a container of particles.

I used the exact values I told you earlier.

But, it didn't work. The wheels went in but when they came up the particles stuck to them but the particles then detached from the wheels. This it probably due to the viscosity; the particles are trying to stick to the wheels but they are trying harder to stick with the rest of the particles. Of course, the surface tension also is to blame.

I've upped the wheels stickiness to 50k to see what happens.

It just goes to show the amount of tweaking fluid stuff takes, even with setting which work.

_________________Otuama - Vimeo'Strength does not come from physical capacity. It comes from an indomitable will.' - Gandhi'Realism is in the eye of the beholder' - Me

I'm running a test as we speak and mine is not working either. I think the problem is if the object in the fluid is moving, the particles sticking to the object tend to migrate their way up the surface of the object in an unrealistic way.

For example, if you stick your arm into a vat full of mud, when you pull the arm out, it should be coated with mud, but the mud should not crawl its way up your arm.

I've just realised something which may be the cause of my problem. I had a plane at the top of the container to block particles coming out. Ummm, I forgot to turn it off. No wonder the particles are leaving the wheels because the plane is pushing them down. Doh!!

_________________Otuama - Vimeo'Strength does not come from physical capacity. It comes from an indomitable will.' - Gandhi'Realism is in the eye of the beholder' - Me

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum