Addon for Blender that helps animators create unique effects combining Cloth Physics and Dynamic Paint.
What started as a tedious and manual physics/modifier stack setup evolved into a reusable addon for Blender-- my first! I wanted a way to destroy meshes without creating a separate set of meshes for the destruction event (e.g. cell fracture + rigid body), and without carefully re-applying Cloth + Vertex Weight Mix modifiers. In the cases of simple, far away, out of focus, or even for close up large-scale cloth destruction, Dynamically painting the destruction onto the object can save you time when exact control of the deformation is unnecessary.
Want to motivate me to make more code like this?
Download dynamic_unpin_cloth.py from the latest release : https://github.com/drmcnulty/dynamic_unpin_cloth/releases/latest/download/dynamic_unpin_cloth.py
Open Blender Preferences (Edit > Preferences...)
Select the "Add-ons" section.
Click "Install..."
Browse to the file you downloaded and click on "Install Add-on"
Ensure that "Enabled Add-ons Only" is not checked, and that "Community" Add-ons are visible
Search for "Dynamic Unpin Cloth" Check the box next to "Object: Dynamic Unpin Cloth"
If you want Blender to keep this Add-on enabled next time you restart, click "Save Preferences" at the bottom.
There are 3 steps to adding Dynamic Unpin Cloth behaviour to a scene:
Select the object(s) you want to turn into dynamically unpinnable cloth. In the Object menu, Click "Dynamic Unpin Cloth."
Select a different object and add Physics->Dynamic Paint->Brush to it.
Animate the scene so that the Dynamic Paint Brush makes contact with the DUC object.
Applying Dynamic Unpin Cloth to a Mesh object with default cloth behaviour:
Applying Dynamic Unpin Cloth to a Mesh object that has pre-made edge-split knife-cuts across its topology:
Effect realized by checking the "Shatter" option in the Dynamic Unpin Cloth operation menu.