From caac27dcbc4fb652fbb417b4b312493b0ef0eea0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 21 Jan 2013 15:41:00 +0000 Subject: mesh-cache deform modifier, supports MDD and PC2 formats. see wiki docs: http://wiki.blender.org/index.php/Doc:2.6/Manual/Modifiers/Deform/Mesh_Cache --- source/blender/makesrna/RNA_enum_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesrna/RNA_enum_types.h') diff --git a/source/blender/makesrna/RNA_enum_types.h b/source/blender/makesrna/RNA_enum_types.h index 6733d8a5c05..75c8b2034b0 100644 --- a/source/blender/makesrna/RNA_enum_types.h +++ b/source/blender/makesrna/RNA_enum_types.h @@ -102,6 +102,8 @@ extern EnumPropertyItem object_type_items[]; extern EnumPropertyItem object_type_curve_items[]; +extern EnumPropertyItem object_axis_items[]; + extern EnumPropertyItem controller_type_items[]; extern EnumPropertyItem keymap_propvalue_items[]; -- cgit v1.2.3 From 27601aaf017263bf356dce37a4b90a764a819ee7 Mon Sep 17 00:00:00 2001 From: Sergej Reich Date: Wed, 23 Jan 2013 05:56:22 +0000 Subject: rigidbody: Add DNA/RNA/BKE infrastructure for the rigid body sim This is just the basic structure, the simulation isn't hooked up yet. Scenes get a pointer to a rigid body world that holds rigid body objects. Objects get a pointer to a rigdid body object. Both rigid body world and objects aren't used directly in the simulation and only hold information to create the actual physics objects. Physics objects are created when rigid body objects are validated. In order to keep blender and bullet objects in sync care has to be taken to either call appropriate set functions or flag objects for validation. Part of GSoC 2010 and 2012. Authors: Joshua Leung (aligorith), Sergej Reich (sergof) --- source/blender/makesrna/RNA_enum_types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/makesrna/RNA_enum_types.h') diff --git a/source/blender/makesrna/RNA_enum_types.h b/source/blender/makesrna/RNA_enum_types.h index 75c8b2034b0..f0de36bbdfe 100644 --- a/source/blender/makesrna/RNA_enum_types.h +++ b/source/blender/makesrna/RNA_enum_types.h @@ -102,6 +102,9 @@ extern EnumPropertyItem object_type_items[]; extern EnumPropertyItem object_type_curve_items[]; +extern EnumPropertyItem rigidbody_ob_type_items[]; +extern EnumPropertyItem rigidbody_ob_shape_items[]; + extern EnumPropertyItem object_axis_items[]; extern EnumPropertyItem controller_type_items[]; -- cgit v1.2.3 From 47c96081d00f2edfb1148d5d7c276489f03a8581 Mon Sep 17 00:00:00 2001 From: Sergej Reich Date: Wed, 23 Jan 2013 05:56:56 +0000 Subject: rigidbody: Add rigid body constraints Constraints connect two rigid bodies. Depending on which constraint is used different degrees of freedom are limited, e.g. a hinge constraint only allows the objects to rotate around a common axis. Constraints are implemented as individual objects and bahave similar to rigid bodies in terms of adding/removing/validating. The position and orientation of the constraint object is the pivot point of the constraint. Constraints have their own group in the rigid body world. To make connecting rigid bodies easier, there is a "Connect" operator that creates an empty objects with a rigid body constraint connecting the selected objects to active. Currently the following constraints are implemented: * Fixed * Point * Hinge * Slider * Piston * Generic Note: constraint limits aren't animatable yet). --- source/blender/makesrna/RNA_enum_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesrna/RNA_enum_types.h') diff --git a/source/blender/makesrna/RNA_enum_types.h b/source/blender/makesrna/RNA_enum_types.h index f0de36bbdfe..eabf0391c01 100644 --- a/source/blender/makesrna/RNA_enum_types.h +++ b/source/blender/makesrna/RNA_enum_types.h @@ -104,6 +104,7 @@ extern EnumPropertyItem object_type_curve_items[]; extern EnumPropertyItem rigidbody_ob_type_items[]; extern EnumPropertyItem rigidbody_ob_shape_items[]; +extern EnumPropertyItem rigidbody_con_type_items[]; extern EnumPropertyItem object_axis_items[]; -- cgit v1.2.3