diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2020-06-12 21:33:38 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2020-06-19 12:17:02 +0300 |
commit | 9e7012995249281b041d55607e7e7408857aa8c4 (patch) | |
tree | c798c27f235113ed4909fb6e11f68d84653ed8c6 /release/scripts/startup/bl_ui | |
parent | f382109f3885fc48d7becc526796d3324ab0aa42 (diff) |
Cloth: allow forces to act parallel to cloth.
Currently all force effectors can only act on cloth when the force is
perpendicular to the surface. This makes sense for wind, but not for
other forces; and the user may want even wind to have some friction.
This changes effector code to output two force vectors - although
you of course can pass the same pointer for both. The force is split
between the two outputs based on a new per-effector setting.
Differential Revision: https://developer.blender.org/D8017
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_common.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_common.py b/release/scripts/startup/bl_ui/properties_physics_common.py index 210d850ad06..db33fda3b17 100644 --- a/release/scripts/startup/bl_ui/properties_physics_common.py +++ b/release/scripts/startup/bl_ui/properties_physics_common.py @@ -330,6 +330,7 @@ def basic_force_field_settings_ui(self, field): col.prop(field, "use_gravity_falloff", text="Gravitation") col.prop(field, "use_absorption") + col.prop(field, "wind_factor") def basic_force_field_falloff_ui(self, field): |