0
$\begingroup$

This question already has an answer here:

I'm trying to create a rolled up yoga mat. I thought I could use the cloth simulator and run a physics animation to make a subdivided mesh roll itself up but I couldn't get it to work. Everything I tried just resulted in a cloth that was bent in lots of different directions.

So then I thought maybe I could run an animation to make the mesh roll itself around a cylinder. I guess for this to work I'd need to be able to pin the mesh to the cylinder, and then animate the cylinder rotating a few times. I guess I can rotate the cylinder by creating keyframes with 0 degrees of rotation then say 10 * 360 degrees rotation. But how can I parent one end of the mesh to the cylinder in the first place?

Or is there a better way to do this?

I'd also like to be able to have the corners of the mat slightly curled up when it's flat (e.g. like this but less pronounced) which makes me think perhaps physics is the way to go after all?

$\endgroup$

marked as duplicate by Duarte Farrajota Ramos, VRM, Ray Mairlot, David Jan 6 '18 at 14:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3
$\begingroup$

Here is a possible way:

First create a bezier like this:

enter image description here

which has control points like

enter image description here

then add the mat in a convenient position (I used a subdivided plane with solidify and subsurf) then use a curve modifier to the above bezier

enter image description here

if you animate the bezier along X you get this:

enter image description here

There could be other ways of course but I hope it helps you.

$\endgroup$

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