Page MenuHome

Expose Bullet rotational spring settings in the UI.

Authored by Alexander Gavrilov (angavrilov) on Nov 5 2016, 11:51 AM.



Bullet spring constraint already supports rotational springs, but
they are not exposed in blender UI, likely due to a simple oversight.
Supporting them is as simple as adding a few DNA/RNA properties
with appropriate UI and passing them on to Bullet.

Diff Detail

rB Blender
Build Status
Buildable 259
Build 259: arc lint + arc unit

Event Timeline

Alexander Gavrilov (angavrilov) retitled this revision from to Expose Bullet rotational spring settings in the UI..
Alexander Gavrilov (angavrilov) updated this object.
Sergej Reich (sergof) edited edge metadata.

I think adding this constraint was a mistake (it's too complicated to use, stiff springs don't really work), but since it's already there adding these settings won't make things worse, so LGTM :)

This revision is now accepted and ready to land.Nov 5 2016, 2:56 PM

I wonder if for 2.8 blender should switch to the new version of the spring constraint in bullet - from descriptions it seems to be better, but is not backwards compatible (especially the damping parameters). For that reason bullet itself has both old and new side by side.

Probably, but you'd also want to do more significant changes as well.
For the Spring constraint specifically you'd want to do something like this: T39076
More generally there are several big design decisions that I think were wrong. If we could change those for 2.8 that would be even better, but that's a bigger toppic.

This revision was automatically updated to reflect the committed changes.