title: Can't get rigidbody collisions to work in Unity3d with box colliders
body: <p>so I am using Unity to create an Android game and I cannot get any collisions to work. Both objects have box colliders and one has rigidbody attached to it. When I hit play it just falls through the floor. So I instead tried to make the rigidbody object kinematic and control it's movement via transform.Transform instead of rigidbody.addforce I then made a cube in front of the character with a box collider that has "Is Trigger" checked. I then attached this script to both the rigidbody and the cube.</p>
  
  <pre><code>#pragma strict
  function OnTriggerEnter ( block : Collider){
  
  print("BA BAM!");
  Destroy(block.gameObject);
  
  }
  function Update () {
  if (Input.GetKeyDown(KeyCode.Escape)) {
      Application.LoadLevel("MainMenu");
  }
  }
  </code></pre>
  
  <p>but I will move the character right through the block and nothing happens!</p>
  
  <p>I then decided to create a new blank scene and made two cubes. Both have box colliders. I dragged one above the other and added rigidbody physics to it. But it just falls through the other block when I hit play! Any help will be greatly appreciated!</p>