diff options
author | Sebastián Barschkis <sebbas@sebbas.org> | 2020-10-21 00:07:33 +0300 |
---|---|---|
committer | Sebastián Barschkis <sebbas@sebbas.org> | 2020-10-21 00:07:53 +0300 |
commit | 7167a57197e9732ddb0a23dc2cedc6651bd55987 (patch) | |
tree | acf1011a630db2c9b708ec3a1d586705171f60d8 /source/blender/makesdna/DNA_fluid_defaults.h | |
parent | 14d56b4217f857eb78239051593c2391f9227b99 (diff) |
Fluid: Added obstacle fluid distance parameter
Being able to adjust the distance between fluid and obstacles comes in handy when trying to achieve a fluid motion over inclined obstacles.
Depending on the slope of such obstacles, already small adjustments of this value can help when particles stick to obstacle surfaces (i.e. make particles not stick to obstacles).
Diffstat (limited to 'source/blender/makesdna/DNA_fluid_defaults.h')
-rw-r--r-- | source/blender/makesdna/DNA_fluid_defaults.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_fluid_defaults.h b/source/blender/makesdna/DNA_fluid_defaults.h index 14ea874a674..2ee83cf3387 100644 --- a/source/blender/makesdna/DNA_fluid_defaults.h +++ b/source/blender/makesdna/DNA_fluid_defaults.h @@ -109,6 +109,7 @@ .particle_radius = 1.0f, \ .particle_band_width = 3.0f, \ .fractions_threshold = 0.05f, \ + .fractions_distance = 0.5f, \ .flip_ratio = 0.97f, \ .sys_particle_maximum = 0, \ .simulation_method = FLUID_DOMAIN_METHOD_FLIP, \ |