← Blender.Today
  • Published 13 Nov 2019

Fluid simulation doesn’t work with moving character

I try to make animation with fluid and some moving character(obstacle). Fluid is shooting from a gun towards character. Fluid is like honey. Fluid is landing on character's body. The character is moving so fluid should reacts on his moves. Here is the problem. Fluid doesn't keep character's body. Fluid disappears when character make step forward and appears when the character moves back. Also the amount of fluid's vertices is changing during simulation. When some part of fluid disappears amount of it vertices and opposite. How to make fluid stays on moving body? Why doesn't stay on the body? Maybe it is impossible to make this in blender. If it is true please give me some advice how to do this in other way. I need this animation to game which I make in unity. Thanks. There is my problem: youtube.com/watch

There is a blend file easyupload.io/p0agi7

fidelioo
13 Nov 2019

2 Comments

christianclavet

Hi, Just curious about one thing: How will you export the fluid animation to unity?

Have you given a look at the manual how to make "fluid obstacles" ?

If you would create "blood splat" in your game in Unity you should look at something like this:

To do something directly in Blender could be using dynamic paint with particles:

But this will not be exportable to my knowledge. Textures are created dynamically. So you need to make this in Unity if you need it in your game.

fidelioo Author

* @Christian Clavet * Hi. Thanks for your respond :) I plan to export fluid simulation to unity with alembic addon for unity: github.com/unity3d-jp/AlembicForUnity/blob/master/Screenshots/alembic_example.gif I read blender documentation about fluid simulation and I don't know why this fluid behaves in this way. It's the only problem which I have now.