Go to: Synopsis. Return value. MEL examples.

Synopsis

moveCacheToInput( int $displayInput )

This command moves the cache for the selected nCloth object to a geometry cache on the input mesh of the nCloth. It also enables inputMeshAttract so that the cloth simulation is attracted to its input. One could map or modify the inputMeshAttract to allow for local modifications of the cached simulation. Or the nCloth could be deleted so that one would only have the input mesh with the cached simualtion.

Return value

None

Arguments

Variable Name Variable Type Description
$displayInput If true then display the input cloth mesh instead of the output.

MEL examples

  moveCacheToInput false;