diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2021-01-08 13:02:40 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2021-01-11 19:34:33 +0300 |
commit | e44e0e4e78bed21846c4c2455f81d678f61d212e (patch) | |
tree | 8d175701f8fbac1dc8f3aac62cbdaafa35a50b62 /source/blender/blenkernel/BKE_cloth.h | |
parent | ac290bfbe434df43fea19f7130313a1769aefdad (diff) |
Cloth: add a vertex group setting to exclude from object collision.
This can be useful as a workaround on the boundary with the pinned
vertices in some situations among other things, and completely copies
the existing design of the self collision vertex group setting.
Differential Revision: https://developer.blender.org/D10043
Diffstat (limited to 'source/blender/blenkernel/BKE_cloth.h')
-rw-r--r-- | source/blender/blenkernel/BKE_cloth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_cloth.h b/source/blender/blenkernel/BKE_cloth.h index 20e2122a195..e9267955d70 100644 --- a/source/blender/blenkernel/BKE_cloth.h +++ b/source/blender/blenkernel/BKE_cloth.h @@ -50,6 +50,7 @@ struct Scene; typedef enum eClothVertexFlag { CLOTH_VERT_FLAG_PINNED = (1 << 0), CLOTH_VERT_FLAG_NOSELFCOLL = (1 << 1), /* vertex NOT used for self collisions */ + CLOTH_VERT_FLAG_NOOBJCOLL = (1 << 2), /* vertex NOT used for object collisions */ } eClothVertexFlag; typedef struct ClothHairData { |