Pathfinding Across Stairs

Forums 💬 Slate Sequencer ⚙️ Support Pathfinding Across Stairs

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #21051
    anlumo
    Participant

      Hi,

      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?

      #21053
      anlumo
      Participant

        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…

        #21052
        Gavalakis
        Keymaster

          Hello,

          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.

          (PS: I’ve also replied to your other post :))

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.