Search Unity

No Collisions query

Discussion in 'General Discussion' started by Sword111, Dec 18, 2019.

  1. Sword111

    Sword111

    Joined:
    Feb 28, 2016
    Posts:
    20
    I have one scene where all of a sudden I have no collisions on anything ! Have I accidently switched something on or off in editor have I deleted a fundamental script ? I cant even get to cubes to interact anyone have any ideas ? Best H
     
  2. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    Hi @Sword111,

    Check your objects and that they match your scripts' collision requirements (i.e. if you are testing for tags or layers, for example.).

    Also go check the Layer Collision Matrix in Project Settings/Physics, in case you have somehow misconfigured or lost the settings there.
     
    Sword111 likes this.
  3. Sword111

    Sword111

    Joined:
    Feb 28, 2016
    Posts:
    20
    hi thanks for your reply its only happening in one scene of about 20 and I cant even get two cubes to collide something is defiantly strange no triggers also :/
     
  4. Sword111

    Sword111

    Joined:
    Feb 28, 2016
    Posts:
    20
    Hi I finally got to the bottom of it changing in Physics the Broadphase type to "sweep and prune Broadphase" solved the problem, thanks for your Olmi