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. Dismiss Notice

Glitchy Collision?

Discussion in 'Physics' started by GamesOnAcid, Feb 10, 2016.

  1. GamesOnAcid

    GamesOnAcid

    Joined:
    Jan 11, 2016
    Posts:
    280
    I've got this issue with one of the rooms in my game. All it has in it is a door and a keypad. There is some invisible barrier in front of the door, blocking my entrance. I don't know if it is a mesh error, or what it is, all I know is that the door or keypad isn't causing it. Anyone help? (see image) Untitled.png
     
  2. gorbit99

    gorbit99

    Joined:
    Jul 14, 2015
    Posts:
    1,350
    Can you show us the properties of the house?
     
  3. Abhinav91

    Abhinav91

    Joined:
    Oct 21, 2013
    Posts:
    67
    How have you set up the colliders on the wall. Is it just on big BoxCollider or a couple of BoxColliders?
    If possible, post a pic of the wall object selected so that the collider(s) can be seen.
     
  4. gorbit99

    gorbit99

    Joined:
    Jul 14, 2015
    Posts:
    1,350
    Exactly what I tried to say
     
  5. GamesOnAcid

    GamesOnAcid

    Joined:
    Jan 11, 2016
    Posts:
    280
    It's a mesh collider on the whole wall, I fixed it by just changing the Character Controller skin width. Seemed to work just fine