![]() |
Help Moving cloth with colliders - 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 Moving cloth with colliders (/thread-504.html) |
Moving cloth with colliders - Ravenshadow - 25-03-2018 Hello! I've started using Obi for cloth and its great. I have a quick question though. I have some drapes set up to blow in front of spooky windows and I want to add the ability for the user to pull them aside with his hand (in VR). Can someone point me in the right direction for that? I can't seem to figure out how to get colliders to move cloth. RE: Moving cloth with colliders - josemendez - 25-03-2018 (25-03-2018, 10:41 AM)Ravenshadow Wrote: Hello! I've started using Obi for cloth and its great. I have a quick question though. Welcome Ravenshadow! You just need to: - add a ObiCollider component to your regular collider. - make sure its layer is checked for collisions by the solver (the "Default" layer is, by default) - make sure its "phase" value is different from the ones of the cloth particles. see: http://obi.virtualmethodstudio.com/tutorials/collisions.html RE: Moving cloth with colliders - Ravenshadow - 25-03-2018 (25-03-2018, 10:59 AM)josemendez Wrote: Welcome Ravenshadow! Worked like a charm! Thank you very much. One more question, not sure if it's possible with Obi cloth but I thought I'd ask. I have a scene with a skeleton under the covers of a bed and I'd like the player to be able to grab the covers and pull them down to reveal the skeleton. I can think of a couple complicated bone systems to do it, but is there an Obi Cloth way to do it? Maybe a particle attractor or something? I realize Obi might not have a way to solve this but the sim makes everything look so cool I'd like to keep the solution in Obi if possible. RE: Moving cloth with colliders - Ravenshadow - 26-03-2018 Ok, so I figured it out in case anyone is looking for this. Use Handles: http://obi.virtualmethodstudio.com/tutorials/attachments.html and fiddle with the Obi Skin Constraints (I set Stiffness to 0 to get what I wanted). RE: Moving cloth with colliders - Caldor - 19-05-2018 (26-03-2018, 07:32 AM)Ravenshadow Wrote: Ok, so I figured it out in case anyone is looking for this. Use Handles: http://obi.virtualmethodstudio.com/tutorials/attachments.html Nice ![]() |