liquid sim - attraction

in new build, attraction is now missing in right-click fd options per object. also don’t see attraction in the liquid sim rollups. i see a new helper called bodyforce however it only pushes away fluid. has this feature been removed from PHX liquids? doing a project right now that requires attraction with liquid sim.

also could the new helpers params be described? love the new helpers, just hoping features aren’t being removed. thanks!

the attraction was changed to be a helper object, because you can’t animate the per object parameters (max limitation)
i don’t understand what you mean with “pushes avay fluid”, a preview video may be helpful.

hi Ivaylo. yes, excellent. i was having that very issue where i wished i could separately control forces per object and animate the strengths. the problem i’m having now is that before i was able to have the fluid be attracted to a hollow object, whereas now the bodyforce helper only seems to push fluid away (or in other words ‘deflect’). am i using the wrong helper object? is there a new attraction helper that isn’t in build 26374?

apparently there is a problem in the latest builds, i just tested my force scene and it seems to not work.
will be fixed tomorrow.

awesome - looking forward to it!

i just tried the latest build and still can’t get the bodyforce helper to cause a mesh to attract a liquid sim. Build ID: 1510286390

can you attach the scene?

sure thing.
bodyforce_test.zip (18.7 KB)

Works fine for me on todays build

the reason is that fade start is set to 0, this value controls where to start the fade of the attraction force, measured as part of the max distance. but is really a bug, the suppression coefficient is inverted, so for now make it 1, this will disable the fade option, (the force will end rapidly)

ah! i set fade option to 1 and it works! fantastic. thx!

is there a chance it could be put into the next build? (fixing the fade start) for the bodyobject helper. i could really use that on a current delivery. thanks!

yes of course

great - thx Ivaylo!

unfortunately it’s still not in the nightlies, you have to wait tomorrow’s builds

thanks Ivaylo - and flipbook for check out the scene also.

since it’ll be tomorrow, would it be possible to allow a negative value for the force so objects can repel and push away liquid?

yes, i think for now you can workaround it using the listener to set the negative value, almost sure it’s just UI limitation, no internal restrictions

very cool! could you list the steps to achieve that? i’m not much of a scripter. thx so much!

select the body force helper, open the listener and type
$.strength=-100 or any other value
this is all