rigidbody: Add generic spring constraint
authorSergej Reich <sergej.reich@googlemail.com>
Wed, 23 Jan 2013 05:57:01 +0000 (05:57 +0000)
committerSergej Reich <sergej.reich@googlemail.com>
Wed, 23 Jan 2013 05:57:01 +0000 (05:57 +0000)
commitc48238fac6c3a8a767c290ebb1c5e22b18d9bfe9
treea8a37bf18886d397737b8f9be0520f43c1a1f5f6
parent47c96081d00f2edfb1148d5d7c276489f03a8581
rigidbody: Add generic spring constraint

Behaves like the generic constraint but has optional spring on each axis.

TODO: Add option to set rest length.

Patch by Markus Kasten (markus111), thanks!
release/scripts/startup/bl_operators/rigidbody.py
source/blender/blenkernel/intern/rigidbody.c
source/blender/makesdna/DNA_rigidbody_types.h
source/blender/makesrna/intern/rna_rigidbody.c