diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-09-25 02:58:49 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-09-25 02:58:49 +0400 |
commit | 38a80ff9a5c6d7bebef42bc3b8320d781b4e4f1c (patch) | |
tree | 325f16aebffa126c36f2377cb32c5dc8fd3f533b /source/blender/makesdna/DNA_object_types.h | |
parent | 48bc5b2ac654229832752e7f8593f0dda2ccf80c (diff) |
BGE patch: add advanced parameters for SoftBody. Add Rasterizer.drawLine() Python function.
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_object_types.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h index 66bdaf2c98b..041e0eaebde 100644 --- a/source/blender/makesdna/DNA_object_types.h +++ b/source/blender/makesdna/DNA_object_types.h @@ -156,7 +156,14 @@ typedef struct Object { float formfactor; float rdamping, sizefac; - float margin, pad3; + float margin; + /* for game engine soft body */ + float linearStiffness; + float angularStiffness; + float volumePreservation; + int gamesoftFlag; + int pad3; + char dt, dtx; @@ -411,6 +418,9 @@ extern Object workob; #define OB_RECALC_TIME 4 #define OB_RECALC 7 +/* ob->gamesoftFlag */ +#define OB_SOFT_SHAPE_MATCHING 1 + /* ob->gameflag */ #define OB_DYNAMIC 1 #define OB_CHILD 2 |