Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Having trouble getting cloth to collide with other gameobjects
#1
I have a table mesh with a separate tablecloth mesh. Both are sitting upon a floor mesh. The table is a rigidbody with a mesh collider.

The tablecloth has an Obi Cloth component, set up as shown in the Obi Cloth setup video. The simulation works great, the tablecloth that came with the table actually moves like cloth now. The only trouble is, it falls through the table and through the floor, off into space. I've tried different colliders, configurations, etc, but can't seem to get it. Thanks for any help!
Reply
#2
(05-06-2019, 04:45 AM)digitalOctopus Wrote: I have a table mesh with a separate tablecloth mesh. Both are sitting upon a floor mesh. The table is a rigidbody with a mesh collider.

The tablecloth has an Obi Cloth component, set up as shown in the Obi Cloth setup video. The simulation works great, the tablecloth that came with the table actually moves like cloth now. The only trouble is, it falls through the table and through the floor, off into space. I've tried different colliders, configurations, etc, but can't seem to get it. Thanks for any help!

Make sure you've setup collisions correctly:
- Added a ObiCollider component to each collider you want to affect the cloth.
- Make sure the cloth and the collider have different phases (this is the case by default, unless you change it).

See:
http://obi.virtualmethodstudio.com/tutor...sions.html
Reply
#3
(05-06-2019, 07:10 AM)josemendez Wrote: Make sure you've setup collisions correctly:
- Added a ObiCollider component to each collider you want to affect the cloth.
- Make sure the cloth and the collider have different phases (this is the case by default, unless you change it).

See:
http://obi.virtualmethodstudio.com/tutor...sions.html

Thanks so much!
Reply