Creating clothing/fabric/cloth effect

Does anyone have any information on how to create clothing effects using the physics engine within Corona? I want to create a ghost figure that the user can drag around the screen (imagine Casper) and I want it’s body to move like cloth behind the point being dragged. Whats the best approach for this kind of thing?

Hi.

More or less like this, I think. There’s some code and video links there.

Once you’ve got that you can probably apply the ideas from here.

Also, check out the Ragdoll and Chains sample code delivered with the simulator. These might give you some ideas as well.

Hi.

More or less like this, I think. There’s some code and video links there.

Once you’ve got that you can probably apply the ideas from here.

Also, check out the Ragdoll and Chains sample code delivered with the simulator. These might give you some ideas as well.