Search Unity

Question How do I ignore collision layers when dragging assets into the scene view

Discussion in 'Editor & General Support' started by melos_han_tani, Jun 17, 2022.

  1. melos_han_tani

    melos_han_tani

    Joined:
    Jan 11, 2018
    Posts:
    79
    How do I ignore collision layers when dragging assets into the scene from my project fodler? I have a layer for these box colliders that are much taller than their meshes, and I want the drag and drop behavior to ignore them.

    Here's one of the colliders, whose mesh is that little grassy bit at the bottom: as you can see, they form a wall, so if I wanted to drag an asset to behind these colliders, the asset would get 'stuck' on the colliders.

    upload_2022-6-17_14-45-17.png

    Yes, I could disable these colliders in the scene view and enable them on runtime but that's not ideal.