Search Unity

How to make a passable tube?

Discussion in 'Physics' started by DrCat22, Sep 1, 2019.

  1. DrCat22

    DrCat22

    Joined:
    Mar 11, 2018
    Posts:
    1
    Hey guys

    What I want to do is actually really simple (I thought). The player should be able to fall trough a Tube or Pipe which I made in Fusion 360 and exported as .obj (also tried other formats). The thing is the player needs a mesh-collider (because otherwise it would not be precise enough) and now I cant fall trough the pipe. Because to be able to collide with each other as far as I know they both have to be convex enabled. But a Convex tube/pipe removes the whole in it... Has anyone an idea how to solve it? I appreciate every help! (When the player has a box collider and the tube isn't convex, everything works fine)

    Kind Regards
    Nik
     
  2. Edy

    Edy

    Joined:
    Jun 3, 2010
    Posts:
    1,554
    The tube itself doesn't need to be marked as convex. Simply un-check the convex option in it. All other objects that have to collide with the tube do need to have Convex enabled.