25-03-2018, 10:59 AM
(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.
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.
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/tutor...sions.html