26-10-2021, 08:37 AM
It's very simple:
Note this will reset all particle's positions and velocities to those contained in the blueprint, so for a smooth transition you will have to store particle data before changing the blueprint, and re-applying it after the blueprint's been changed. See:
http://obi.virtualmethodstudio.com/manua...icles.html
Code:
cloth.clothBlueprint = yourBlueprint;
Note this will reset all particle's positions and velocities to those contained in the blueprint, so for a smooth transition you will have to store particle data before changing the blueprint, and re-applying it after the blueprint's been changed. See:
http://obi.virtualmethodstudio.com/manua...icles.html