diff options
Diffstat (limited to 'source/blender/makesdna/DNA_object_force_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_object_force_types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_object_force_types.h b/source/blender/makesdna/DNA_object_force_types.h index a0f22f28aed..6e42284f1a4 100644 --- a/source/blender/makesdna/DNA_object_force_types.h +++ b/source/blender/makesdna/DNA_object_force_types.h @@ -120,6 +120,9 @@ typedef struct PartDeflect { float drawvec_falloff_max[3], pad2; /* Runtime only */ struct Object *f_source; /* force source object */ + + float pdef_cfrict; /* Friction of cloth collisions. */ + float pad; } PartDeflect; typedef struct EffectorWeights { @@ -337,6 +340,8 @@ typedef struct SoftBody { #define PFIELD_GUIDE_PATH_WEIGHT (1<<16) /* apply curve weights */ #define PFIELD_SMOKE_DENSITY (1<<17) /* multiply smoke force by density */ #define PFIELD_GRAVITATION (1<<18) /* used for (simple) force */ +#define PFIELD_CLOTH_USE_CULLING (1<<19) /* Enable cloth collision side detection based on normal. */ +#define PFIELD_CLOTH_USE_NORMAL (1<<20) /* Replace collision direction with collider normal. */ /* pd->falloff */ #define PFIELD_FALL_SPHERE 0 |