Ramp issues

Hi,

I am trying to add a ramp, while following the getting started tutorial. I have created a cube, and rotated to 30 degrees and embedded it below the ground plane, coming up through the ground as a ramp.

When I place a target at the top of the ramp, the path drawn seems to get to the object by going into the side of the ramp, rather than up the ramp from it’s lowest point…if that makes sense.

Also, I see in demo scene 1, there are unwalkable areas around the ramps, and around the edges of the ramps…I dont have any of this…perhaps if the sides of the ramps around the ground were unwalkable, it would force it to go up the ramp properly.

Also at the top of the ramp, I placed another box with no rotation and have placed it snug up to the ramp. There is a path created inside this box, but no connections from the ramp to the box…?

Sorry if this is a bit vague…

Regards

i

Hi

A screenshot would do wonders here.

Try experimenting with the Max Climb values and the erosion.

what does max climb do, is it to do with the height of an individual step between nodes? You can see here the path is going up the side of the ramp, and in the first screenshot, there is no path joining to the ramp to the horizontal box at the top of the ramp.

First of, disable 3D gizmos in the scene view. That should make the graph show in some places it doesn’t right now.

The max climb setting removes connections between nodes if they differ more than the specified value on the Y axis (or another axis if you specified that).
Try to reduce it a lot.

Hi, not sure how max slope and max climb relate. When I reduce the max climb, then the ramp seems to become unwalkable.

any thoughts? am I getting the view above because of the slope and the reduced max climb value…as when you are on a slope the nodes obviously increase in height up the ramp…but not sure how max slope and max climb relate to each other.

Oh, right, the slope has a very high angle. So you will probably not be able to restrict it using max climb. Tried erosion?

The max climb setting basically says: disable the connection if the difference in Y position is greater than this value.
The max angle setting says: disable this node if the ground below it has a slope angle grater than this. It uses the raycast used for height testing.

you could of course just place invisible colliders at the base of the ramp as well.

Hi,

Thanks, will play around…invisible colliders sounds a good option.

Regards

i