Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

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