Search Unity

Collision in a world created in 3d studio

Discussion in 'Scripting' started by alexandros356, Dec 4, 2012.

  1. alexandros356

    alexandros356

    Joined:
    Dec 3, 2012
    Posts:
    105
    Hi, If I create a world like a house with the floor, door and walls in 3d studio how I configure the collision with floor and walls in unity?
    My doubt is If I import the model into unity It going to be an object and If I apply a rigid body to it the collision will be a box. right? Or I configure it to a mesh collision? But this is very expensive.
     
  2. Helghast

    Helghast

    Joined:
    May 7, 2012
    Posts:
    38
    The best way is to recreate the walls etc with seperate gameobjects that are collision boxes (you can parent them under the model gameobject then).
    The expensive way (but easiest) is indeed the use a mesh collider.
     
  3. alexandros356

    alexandros356

    Joined:
    Dec 3, 2012
    Posts:
    105
    Great! Thanks.
     
  4. Asii

    Asii

    Joined:
    Sep 28, 2012
    Posts:
    53
    or you could make collision boxes, spheres and more it is just very time consuming. best way to go is what helghast say