Bottled Fluid Simulation Bug

After testing the fluid simulation, I noticed a major design flaw in the material and that is the Sine motion of the fluid seemed to move diagonally. This means that the sine was combining all 3 directions (X,Y and Z directions).

To fix this, I used an append node to separate the values and create separate scalar parameters which can then be controlled via Blueprint. 
Separated values with the append node in th material

Added changes to the Blueprint

This has somewhat worked as the sine now moves in X and Y and doesn’t exclusively move diagonally when moved in X and Y directions. However, another issue has appeared where the diagonal movement of the sine wave is not moving in the opposite direction when the object is moved diagonally in the other direction.

The directions the sine wave of the fluid moves along when the object (bottle) is moved. The sine does not move along the yellow directions, it somehow moves in the blue directions instead. the blue directions work correctly when the object is moved in those directions.

In the figure above, when the object (bottle) is moved along x and y axes, the sine wave of the fluid moves correctly. When the object is moved along -x and - y axes, the sine again moves correctly. However, when the object moves along the x and -y axes, the sine moves in x and y axes. Also, when the object moves along the -x and y axes, the sine moves in - x and -y axes.

I can’t seem to figure out how to fix this problem and I may have to leave this unresolved as it is not noticeable and does not make a big impact.








Comments

Popular posts from this blog

Environment Showcase Concepts

Distance Field water foam

World alignment (Tri-planar mapping)