Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Can't seem to make rope collide with Mesh Collider
#1
Hello!
I'm browsing the docs and I must get something wrong while implementing collision of ObiRope.
What are the correct ways to do so?
I manage to get it working with box colliders. I want it to collide with a mesh collider that isn't convex. is it possible?
thanks for the help,
Eden.
Reply
#2
Hi Eden,

If you add a ObiCollider component to the MeshCollider (or any collider) it should just work, convex or otherwise. Keep in mind that only the surface of MeshColliders generates collisions: they're not "solid", unlike primitive colliders -box, capsule and sphere-.

Also make sure the collider's phase is different from the rope's phase. By default, the phase of a rope is set to 1 and the collider phase set to 0, so they should collide with each other.

Can you share your setup?
Reply