diff options
author | Sergej Reich <sergej.reich@googlemail.com> | 2013-01-23 09:57:01 +0400 |
---|---|---|
committer | Sergej Reich <sergej.reich@googlemail.com> | 2013-01-23 09:57:01 +0400 |
commit | c48238fac6c3a8a767c290ebb1c5e22b18d9bfe9 (patch) | |
tree | a8a37bf18886d397737b8f9be0520f43c1a1f5f6 /release/scripts/startup/bl_operators/rigidbody.py | |
parent | 47c96081d00f2edfb1148d5d7c276489f03a8581 (diff) |
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!
Diffstat (limited to 'release/scripts/startup/bl_operators/rigidbody.py')
-rw-r--r-- | release/scripts/startup/bl_operators/rigidbody.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_operators/rigidbody.py b/release/scripts/startup/bl_operators/rigidbody.py index 5363eba6420..d5e61484762 100644 --- a/release/scripts/startup/bl_operators/rigidbody.py +++ b/release/scripts/startup/bl_operators/rigidbody.py @@ -206,6 +206,7 @@ class ConnectRigidBodies(Operator): ('SLIDER', "Slider", "Restricts rigid boddy translation to one axis"), ('PISTON', "Piston", "Restricts rigid boddy translation and rotation to one axis"), ('GENERIC', "Generic", "Restricts translation and rotation to specified axes"), + ('GENERIC_SPRING', "Generic Spring", "Restricts translation and rotation to specified axes with springs")), default='FIXED',) pivot_type = EnumProperty( |