Spencer Killen 2797e6146c | ||
---|---|---|
.. | ||
README.md | ||
baked_physics_to_pc2.py |
README.md
A frankenscript that converts baked softbody physics data to a pc2 file
Tested in Blender 3.3 2a2261d7 Linux x86_64
Instructions:
- Create desired physics animation using a lattice and softbody physics modifier.
- Bake the animation and enable "save to disk". Note the folder named blendcache_library.
- Record the x y z scale of the lattice in a file (e.g. named lattice_scale) One dimension per line
- Run this script: python3 baked_physics_to_pc2.py < lattice_scale
- Create a new lattice with the same scale and dimensions
- Add a Mesh cache modifier to the lattice (don't have physics) and use the .pc2 file outputted by the script
See file for sources