Blender Git Commit Log
Git Commits -> Revision 47c9608
Revision 47c9608 by Sergej Reich (master) January 23, 2013, 05:56 (GMT) |
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). |
Commit Details:
Full Hash: 47c96081d00f2edfb1148d5d7c276489f03a8581
SVN Revision: 54025
Parent Commit: cdc8ed2
Lines Changed: +1260, -7
2 Added Paths:
/release/scripts/startup/bl_ui/properties_physics_rigidbody_constraint.py (+215, -0) (View)
/source/blender/editors/physics/rigidbody_constraint.c (+230, -0) (View)
/source/blender/editors/physics/rigidbody_constraint.c (+230, -0) (View)
20 Modified Paths:
/release/scripts/startup/bl_operators/rigidbody.py (+60, -0) (Diff)
/release/scripts/startup/bl_ui/properties_physics_common.py (+5, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+2, -0) (Diff)
/release/scripts/startup/bl_ui/__init__.py (+1, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+3, -1) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+319, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+3, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+18, -2) (Diff)
/source/blender/blenloader/intern/writefile.c (+4, -1) (Diff)
/source/blender/editors/include/ED_physics.h (+4, -0) (Diff)
/source/blender/editors/object/object_add.c (+1, -1) (Diff)
/source/blender/editors/physics/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/physics/physics_intern.h (+5, -0) (Diff)
/source/blender/editors/physics/physics_ops.c (+4, -0) (Diff)
/source/blender/makesdna/DNA_object_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_rigidbody_types.h (+88, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_rigidbody.c (+289, -0) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+1, -0) (Diff)
/release/scripts/startup/bl_ui/properties_physics_common.py (+5, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+2, -0) (Diff)
/release/scripts/startup/bl_ui/__init__.py (+1, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+3, -1) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+319, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+3, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+18, -2) (Diff)
/source/blender/blenloader/intern/writefile.c (+4, -1) (Diff)
/source/blender/editors/include/ED_physics.h (+4, -0) (Diff)
/source/blender/editors/object/object_add.c (+1, -1) (Diff)
/source/blender/editors/physics/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/physics/physics_intern.h (+5, -0) (Diff)
/source/blender/editors/physics/physics_ops.c (+4, -0) (Diff)
/source/blender/makesdna/DNA_object_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_rigidbody_types.h (+88, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_rigidbody.c (+289, -0) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+1, -0) (Diff)