rigidbody: Add motor constraint
authorSergej Reich <sergej.reich@googlemail.com>
Sat, 23 Feb 2013 23:04:07 +0000 (23:04 +0000)
committerSergej Reich <sergej.reich@googlemail.com>
Sat, 23 Feb 2013 23:04:07 +0000 (23:04 +0000)
commitc82213359aa8bc2a762dc0a76c813d46c159a291
tree312fc8aa5a246025d8d6d519b83c266d3a2b861a
parent47bd908e014412b4339ca4bca0a3556d9bd7fcd2
rigidbody: Add motor constraint

It's implemented as a separate constraint instead of adding properties
to the existing constraints.
Motors only apply linear and angular impulses and don't limit the
movement of rigid bodies, so it's best to use them in conjunction with
other constraints to limit the degrees of freedom.

Thanks to Markus Kasten (markus111) for the initial patch.
intern/rigidbody/RBI_api.h
intern/rigidbody/rb_bullet_api.cpp
release/scripts/startup/bl_ui/properties_physics_rigidbody_constraint.py
source/blender/blenkernel/intern/rigidbody.c
source/blender/makesdna/DNA_rigidbody_types.h
source/blender/makesrna/intern/rna_rigidbody.c