Search Unity

Cube falls through custom plane

Discussion in 'Physics' started by Deuxez, May 4, 2020.

  1. Deuxez

    Deuxez

    Joined:
    May 4, 2020
    Posts:
    1
    So im trying to figure out why my cube (player) wont stop falling through my ground (custom low poly plane from blender). My Cube got the mesh colllider and ive tried like 5 diffrent colliders on my ground but it keeps on falling through!!
    Ground:
    upload_2020-5-4_10-8-24.png
    Cube:
    upload_2020-5-4_10-8-42.png
     
  2. tjmaul

    tjmaul

    Joined:
    Aug 29, 2018
    Posts:
    467
    For the cube, use a box collider instead of a meshcollider (although it will also work) but you need to check the convex flag on your mesh colliders.
     
  3. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    You also need a RigidBody in some of your colliding objects in order for the collision to register. So check that too.