0
$\begingroup$

Let's assume that a character only moves in the first and last parts of the animation. In the middle part, it sits on a chair so the shape of its clothes should be held (as it doesn't change).

My question is about the last part. How can I start the simulation using the shape in the middle part (Not the shape that I modeled)? It's kinda like pausing the baking process for a specific range of frames.

I read about the Caches List in the manual but in the second bake, the simulation starts with the initial shape of the cloth. It doesn't contine shaping the cloth.

I also tried to "Apply" the cloth modifier. I think this will do what I need in the final part but it will mess with the beginning of the animation.

$\endgroup$
1
$\begingroup$

Delaying and freezing cloth sims -

As far as I'm aware the the cloth's physics can't be delayed or 'paused' directly but there is a workaround.

This example has the cloth lying on an invisible plane to begin with, thereby holding it's fall until the required frame.

It's released by switching the plane instantly down to a location directly below the bed and over a single frame range.

NOTE - The cloth's setting may have to be changed (keyframed) to suit when it's lying on the plane and when on the bed.

The cloth will fall and settle onto the character and bed but will most likely want to keep wriggling. To avoid this it's visually switched to a 'frozen' copy of itself.

To freeze -

Save the Blend file at that frame firstly and then 'Apply the cloth's physics modifier. This will give us a frozen duplicate which MUST be cleared of all physics and animation!

Save the project again but as a temporary file.

Reload the previous save and append the temporary. Copy paste the frozen mesh into the original scene.

You should now have a soft cloth plus an identically shaped hard-mesh version at that particular frame.

At that frame, visually switch over to the hard mesh version in the Outliner. (Keyframe the camera and eye icons so we see the duplicate, not the soft original)

Play and check that the cloth falls, settles and remains stationary.

Save that as the project Blend file.

-================-

When the character sits up, at the frame where that starts, visually switch back to the soft cloth again.

At the frame where the cloth settles again, do as above. Save the project file firstly and at that frame, 'Apply' the mesh and write that out to another temporary file. Append that back into the 2nd project file, etc etc.

-=================-

This can all be simplified considerably when done in the VSE, however this would be a bigger challenge when the character is to move during the cloth's frozen frames as we have in this example.

The dummy character used here is copyright so including the Blendfile isn't possible, however it's all in the procedure. A matter of freezing, substitution, and switching their visibility.

Should you feel it necessary to have the Blend file, I can redo it with a cube character.

$\endgroup$
1
  • $\begingroup$ Applying the cloth is a great idea. Thanks for the help :) There's no need to move the character during a frozen cloth so you solved my issue... Thanks again :) $\endgroup$ – user2824371 Mar 20 '20 at 13:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.