Announcement

Collapse
No announcement yet.

[Strange issue with nav mesh] Can't find path if cylinder is too high. Why?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Strange issue with nav mesh] Can't find path if cylinder is too high. Why?

    I'm introducing a big pawn in my game. This is a monster with a collision cylinder that has a radius of 120 and a height of 150.
    This pawn seems to be unable to use navmesh (GetNextMoveLocation always returns false).
    If i set the height of the cylinder to 50 instead if 150 it is able to use navmesh and it works great. The environment is just a normal plane with no obstacles in Z axis.
    In what way the height of the cylinder affect the searching?

    #2
    Subclass the scout class and add an entry to the pathsizes array with dimensions it can fit inside.

    Comment


      #3
      Very interesting, i didn't notice it before!
      Thanks.

      Comment


        #4
        I created a new entry:
        PathSizes(4)=(Desc=Monster,Radius=180,Height=180)

        to be able to handle every kind of big pawn but this isn't working. The getnextmovelocation always return false if the pawn they want to move against is in another poly.

        Comment

        Working...
        X