Obi Official Forum
Help Attaching two pieces of cloth together - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html)
+--- Thread: Help Attaching two pieces of cloth together (/thread-721.html)



Attaching two pieces of cloth together - zezafa - 19-10-2018

Hello,

I am quite new to ObiCloth plugin and still learning basic aspects. I am looking for a method to attach several pieces of cloth together to form a piece of clothing e.g. a T-shirt. This is exactly the method/effect I would like to replicate with Obi and Unity: https://vimeo.com/185906538 . I was thinking about setting pin constraints between particles from one cloth object to another, but it seems that pin constraints can only be set between rigid body and particles. Is there another way to create "to sew" two pieces of cloth together?


RE: Attaching two pieces of cloth together - josemendez - 19-10-2018

(19-10-2018, 06:11 PM)zezafa Wrote: Hello,

I am quite new to ObiCloth plugin and still learning basic aspects. I am looking for a method to attach several pieces of cloth together to form a piece of clothing e.g. a T-shirt. This is exactly the method/effect I would like to replicate with Obi and Unity: https://vimeo.com/185906538 . I was thinking about setting pin constraints between particles from one cloth object to another, but it seems that pin constraints can only be set between rigid body and particles. Is there another way to create "to sew" two pieces of cloth together?

Hi there,

Use stitch constraints (created using the ObiStitcher component). The "RuntimeCloth" sample scene shows how to turn two procedural meshes into two pieces of cloth and stitch them together, all at runtime.


RE: Attaching two pieces of cloth together - zezafa - 21-10-2018

(19-10-2018, 09:39 PM)josemendez Wrote: Hi there,

Use stitch constraints (created using the ObiStitcher component). The "RuntimeCloth" sample scene shows how to turn two procedural meshes into two pieces of cloth and stitch them together, all at runtime.

The "RuntimeCloth" sample was exactly, what I was looking for. It is perfect! Thank you for a quick answer and solution!