Search Unity

Character Controller Physics Problem

Discussion in 'Physics' started by pascal_Case, Sep 5, 2018.

  1. pascal_Case

    pascal_Case

    Joined:
    Apr 23, 2018
    Posts:
    1


    Has anyone found/experienced that the Unity Character Controller incorrectly stops falling on slopes that are way too steep? Even though my slope limit is set to 45 (and it works when walking and already grounded), if I jump and land on a slope 86 degrees or lower the controller stops falling. The result is the same whether I use my character controller + scripts or importing the Unity Standard Assets FPSController. In the video the geometry is a probuilder mesh with a mesh collider, but I have also tried a stretched cube with a box collider at a steep angle and the result is the same. Is this a known issue with the Character Controller component? I couldn't find anything on google about this.

    My guess is that, as we know the Character Controller isn't a rigidbody, so it doesn't fully honor the capsule shape at the top and bottom and doesn't "slide" down slopes past the slope limit, it just stops as if it was a cylinder collider.
     
  2. 3rmac

    3rmac

    Joined:
    Aug 14, 2015
    Posts:
    1
    Did you ever find a solution to this?
     
  3. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    You should debug visually, your colliders to rule them out.