Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Cloth curtain
#1
Hi,
How can we implement a obi cloth curtain that can expand and shrink using controller drag in Quest?

Thanks.
Reply
#2
(13-06-2024, 01:38 PM)balaji.v Wrote: Hi,
How can we implement a obi cloth curtain that can expand and shrink using controller drag in Quest?

Thanks.

Hi,

Create a simple cloth plane, generate a particle group out of evenly spaced particles at the top, and add a ObiParticleAttachment that attaches that particle group to a transform. Then simply scale the transform to open/close the curtain.

Here's an old tutorial for Obi 2.0, it's really outdated but the general idea of attaching particles to a transform and then scaling the transform is still applicable:
http://obi.virtualmethodstudio.com/manua...tains.html

kind regards
Reply
#3
(13-06-2024, 01:44 PM)josemendez Wrote: Hi,

Create a simple cloth plane, generate a particle group out of evenly spaced particles at the top, and add a ObiParticleAttachment that attaches that particle group to a transform. Then simply scale the transform to open/close the curtain.

Here's an old tutorial for Obi 2.0, it's really outdated but the general idea of attaching particles to a transform and then scaling the transform is still applicable:
http://obi.virtualmethodstudio.com/manua...tains.html

kind regards
Thank you it helps a lot
Reply