Obi Official Forum

Full Version: Can't seem to make rope collide with Mesh Collider
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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?