Search Unity

enter a building?

Discussion in 'Editor & General Support' started by lordkacj, Jul 22, 2010.

  1. lordkacj

    lordkacj

    Joined:
    Jul 19, 2010
    Posts:
    16
    i want to make a house and i want to enter it how do i do it pls tell i try to find a answer but i had no luck
     
  2. Alex Mat

    Alex Mat

    Joined:
    May 14, 2010
    Posts:
    177
  3. lordkacj

    lordkacj

    Joined:
    Jul 19, 2010
    Posts:
    16
  4. JackRives

    JackRives

    Joined:
    Oct 17, 2009
    Posts:
    111
    Those look like spawn points or some sort. Basically, you've got a trigger area there, and when your character collides with it, it transports the player to another location (inside the house).

    IMO, that really breaks the gameplay, but whatever floats your boat.
     
  5. YourMother999

    YourMother999

    Joined:
    Jul 11, 2010
    Posts:
    115
    so true!! read about scripting and colliding on the website and soon enough, all of the code will form together! but ill give you some hints:
    you will need a collider
    you will need to use Application.loadlevel();
    and this is the wrong section :p