Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Slope Limit Issue

Discussion in 'Editor & General Support' started by Ace1DesignsTeam, Jun 17, 2018.

  1. Ace1DesignsTeam

    Ace1DesignsTeam

    Joined:
    Mar 6, 2018
    Posts:
    6
    Set characterController slopeLimit to 45
    Create a ground plane
    Create 3D cube and scale it to look like a floor. Rotate it so that the floor slopes greater than 45

    Stand on the ground plane. Walk direction toward the cube and don't stop. You will run into the cube but not be able to walk up it since it is angled greater than 45. Even though the character is still trying to walk up the cube, the ground slope = 0 because it registers you as standing on the ground plane.

    Keep running but begin angling your character so that it starts to run parallel to the cube but not completely parallel. The character should still be slighting running toward the cube. Ground slope will = the cube angle because it registers you as standing on the cube, even though you still can't climb up the cube.

    Here's a YouTube video showing the issue. You can see in the console where it switches from ground to cube based on the angle that I am to the cube.



    This is a big problem for my character setup. Is this a bug?
     
    Last edited: Jun 17, 2018