Page MenuHome

Fix T55958: allow the user to select between spring and spring2.
ClosedPublic

Authored by Alexander Gavrilov (angavrilov) on Jul 14 2018, 4:01 PM.

Details

Summary

Since it is evident that newer springs are less stable for some
applications, let the user choose which implementation to use.
This also restores full backward compatibility with 2.79.

Diff Detail

Repository
rB Blender

Event Timeline

A test demonstrating the difference in damping and limit behavior between spring and spring2 by using both in the same file:

Introduced a bullet spring type option instead of a second spring constraint type.

Sergej Reich (sergof) requested changes to this revision.Jul 21 2018, 9:30 PM
Sergej Reich (sergof) added inline comments.
release/scripts/startup/bl_ui/properties_physics_rigidbody_constraint.py
145

No need to mention Bullet, just "Type" or "Method" should be enough. Same goes for the property name.

source/blender/makesrna/intern/rna_rigidbody.c
1054

Same as above, no need to mention Bullet in the tooltip. Just: "Type of spring method" should be fine.

This revision now requires changes to proceed.Jul 21 2018, 9:30 PM
This revision is now accepted and ready to land.Jul 24 2018, 2:42 AM
This revision was automatically updated to reflect the committed changes.