Search Unity

Why are my colliders not working? Game build inside

Discussion in 'Scripting' started by VRaptorX, Sep 13, 2012.

  1. VRaptorX

    VRaptorX

    Joined:
    Sep 27, 2011
    Posts:
    108
    View attachment $Build1.zip


    What should happen is if you pace an item on teh blades, they destroy. Now just to test collisions, they are set to destroy when touching anything. They touch, they stop moving....but they don't destroy. Somehow they can make contact with something and not get to teh contact code.

    Anyone have any ideas?
     
  2. kingcharizard

    kingcharizard

    Joined:
    Jun 30, 2011
    Posts:
    1,137
    i haven't downloaded your zip but are you using the Destroy method

    Code (csharp):
    1. Destroy(gameObjectName); //or you could just use Destroy(this);