Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

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.