Search Unity

i need a wall

Discussion in '2D' started by karammaks, Jul 24, 2016.

  1. karammaks

    karammaks

    Joined:
    Apr 6, 2014
    Posts:
    146
    hi
    i need to make borders or wall , so the object i move by tilting phone cant pass through this wall or border, i made a cube and change its size , but the object still pass through this cube , what should i do ?
     
  2. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    3,037
    Add colliders, or ask Trump.
     
    Martin_H likes this.
  3. karammaks

    karammaks

    Joined:
    Apr 6, 2014
    Posts:
    146
    there are colliders
     
  4. PeaceLaced

    PeaceLaced

    Joined:
    Jun 2, 2015
    Posts:
    53
    vakabaka likes this.