diff options
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_object_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h index 1ea50ec9c1a..11ca1f1fa8e 100644 --- a/source/blender/makesdna/DNA_object_types.h +++ b/source/blender/makesdna/DNA_object_types.h @@ -204,6 +204,12 @@ typedef struct Object { float min_vel; /* clamp the maximum velocity 0.0 is disabled */ float m_contactProcessingThreshold; float obstacleRad; + + /* "Character" physics properties */ + float step_height; + float jump_speed; + float fall_speed; + char pad1[4]; short rotmode; /* rotation mode - uses defines set out in DNA_action_types.h for PoseChannel rotations... */ @@ -483,6 +489,7 @@ typedef struct DupliObject { #define OB_SENSOR 0x80000 #define OB_NAVMESH 0x100000 #define OB_HASOBSTACLE 0x200000 +#define OB_CHARACTER 0x400000 /* ob->gameflag2 */ #define OB_NEVER_DO_ACTIVITY_CULLING 1 @@ -504,6 +511,7 @@ typedef struct DupliObject { #define OB_BODY_TYPE_OCCLUDER 5 #define OB_BODY_TYPE_SENSOR 6 #define OB_BODY_TYPE_NAVMESH 7 +#define OB_BODY_TYPE_CHARACTER 8 /* ob->scavisflag */ #define OB_VIS_SENS 1 |