Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Why wont my chracter fall when it is close but not touching the gorund

Discussion in 'Physics' started by yamiko, Feb 2, 2015.

  1. yamiko

    yamiko

    Joined:
    Dec 11, 2014
    Posts:
    47
    My character will fall when it is not grounded but for some reason if it is close to the ground it will not fall.

     
  2. Uberpete

    Uberpete

    Joined:
    Jan 16, 2014
    Posts:
    78
    Okay, if this is your pure setup, it should work. You could mess with scaling to see if that helps. I'll assume the purple lines are raycasts, in which case the raycast to the right is clearly picking up the ground.

    I'd like to see your code.
     
  3. yamiko

    yamiko

    Joined:
    Dec 11, 2014
    Posts:
    47
    They ray cast are for setting a ground variable and do not effect the physics. They change red when hitting the ground.

    I did find the issue and it was the minimum penetration for penalty value. By default the value is high and reducing the number fixed the issue.