blenderings/bphys/README.md

667 B

A frankenscript that converts baked softbody physics data to a pc2 file

Tested in Blender 3.3 2a2261d7 Linux x86_64

Instructions:

  1. Create desired physics animation using a lattice and softbody physics modifier.
  2. Bake the animation and enable "save to disk". Note the folder named blendcache_library.
  3. Record the x y z scale of the lattice in a file (e.g. named lattice_scale) One dimension per line
  4. Run this script: python3 baked_physics_to_pc2.py < lattice_scale
  5. Create a new lattice with the same scale and dimensions
  6. 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