Search Unity

Physics.CheckBox() bug with TerrainCollider

Discussion in 'Physics' started by F, Dec 8, 2016.

  1. F

    F

    Joined:
    Sep 28, 2012
    Posts:
    13
    Hello,
    I wrote a consider control with Physics.CheckBox(), if it detected any collision the color block will turn gray,otherwise green.

    Now you can see while terrain block it's border,it was turned gray, but if the terrain speared out from center,it will not detect anything; same situation but replaced terrain with a BoxColiider, works fine.

    My terrainData.thickness is 5.

    Is that a physics bug?
     

    Attached Files:

  2. F

    F

    Joined:
    Sep 28, 2012
    Posts:
    13
    bump..