Page MenuHome

Expose Bullet rotational spring settings in the UI.
ClosedPublic

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

Details

Summary

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

Repository
rB Blender

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.