I set up a navmesh and added a paths track to my character with a “pathfind to” action. However, when my destination point can only be reached by going along stairs or a slope, the character goes along a straight line through the air to the destination. The XZ-plane is correctly traversed around obstacles. I do have a height map for navigation, which should take care of this. Is the y-axis simply not implemented for pathfinding?
I just discovered that when making a Pathfind To from the bottom of the stairs to the top, the character is rotated so that it’s perpendicular to the path instead of gravity, so it looks more like skiing than walking up stairs. That’s another showstopper for me…
The height of the navmesh is not ignored, but indeed, the object is rotated to be perpendicular, which I agree it can be a problem. I have attached for you here an updated version of the PathfindTo clip, that makes the actor only rotate in it’s y axis.
Please let me know if that works for you. This update/fix will of course also be included in the next version.
Thanks.