2009-07-05 09:10:49 UTC
Here is a modified script (px_control.ms) for creating keyframes for Rigid Bodies, Cloth, Tearable Cloth, Metal Cloth, ...
Instalation:
(This script is for PhysX plugin for 3ds max 1.0.5 but may work in other versions)
Go to your 3ds max/scripts/physx folder and rename the old px_control.ms to something else (for backup). now place my script in this folder.
To use it:
Start your 3ds max or if is started then go to utility panel and press close (to close the loaded physx script) then click MaxScript -> Run Script and choise px_main.ms from ./scripts/physx/ folder (You need to do it just once)
Setup your simulation as usual. When you are ready backup your scene and check the checkbox Create Keys that is placed near to Step button. Now select all the object that you want to create keyframes. Set the number of frames which you want to simulate in the box near the Step button and press Step.
Now all objects are keyframed.
Note: For tearable cloth will be created new meshes that will be automatically grouped this can be a little slow and may crash if you don't have enough memory.
here is the script: [url]http://www.sendspace.com/file/npjxsw[/url]