Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

Applying colliders to multiple objects / prefab at once

Discussion in 'Getting Started' started by adamgt, Feb 11, 2018.

  1. adamgt

    adamgt

    Joined:
    Jan 2, 2016
    Posts:
    6
    Hi!

    I just spent the best part of the day importing a .map from the quake 3 engine to blender then to unity.
    Scale was a bit off but that was easily fixed.
    Only issue now is that there are over 3000 objects is there any to apply colliders all at the same time or do I have to do it one by one? :p

    Thanks Adam.

    P.S. The map in question is a very old map that I intend to improve on graphically for the fun of it. I have no intention of releasing/selling someone elses work.
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,840
    If you just want to put a mesh collider on everything, then you can simply select them all in the Hierarchy tab, click "Add Component" in the inspector, and add a Mesh collider to them all at once.

    (But, you probably don't want to do that. Mesh colliders are very limited, and when you must use them at all, you generally use a lower-resolution mesh just for that purpose... which you would of course have create and hook up one by one. And for many objects, some other collider, like Box or Capsule, will be more appropriate.)
     
  3. Emix-

    Emix-

    Joined:
    Apr 29, 2021
    Posts:
    1
    How can get them all at ones in your hierarcy tab
     
  4. Timbomba_Studios

    Timbomba_Studios

    Joined:
    Jul 10, 2022
    Posts:
    2
  5. Timbomba_Studios

    Timbomba_Studios

    Joined:
    Jul 10, 2022
    Posts:
    2
    use ctrl a