Skip to content

Noise

Latest

Choose a tag to compare

@ChristianBackstrom ChristianBackstrom released this 17 Nov 11:10

For noise i decided to make a grid with nodes. These nodes have their position and a vector pointing in a direction. These direction vectors are rotate around the Z axis an amount depending on a float from a 2d perlin noise. This in result will give me flow field. With this flowfield i put down balls using Unreals physics and apply a force every tick depending on the closest nodes direction vector. This gives me a really rough fluid simulation(it is kinda slow and better representation of fluid simulation can definitely be done).

All the code for this is in PerlinNoiseFlowField.cpp and PhysicsBall.cpp