Announcement

Collapse
No announcement yet.

How to find a path with dynamic obstacle in NavMesh?

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

    How to find a path with dynamic obstacle in NavMesh?

    As the following pic shows, a Character want to move from Point A to Point B, but there're three other Characters are obstructing between A and B, how to find a path between Point A and Point B?
    Click image for larger version

Name:	How to find a path with dynamic obstacle in NavMesh.png
Views:	1
Size:	134.0 KB
ID:	1188414

    Even I set Project Settings -> Navigation Mesh -> Runtime Generation to Dynamic, but it doesn't work.

    #2
    When visualize the Nav Mesh at runtime, the three Characters of obstructing did not modify Nav Mesh.
    Click image for larger version

Name:	How to find a path with dynamic obstacle in NavMesh-2.png
Views:	1
Size:	403.2 KB
ID:	1112446

    Comment


      #3
      it doesn't work because you need to activate the affect navigation mesh and also it's not a good idea for alot of ai's

      Comment


        #4
        Originally posted by Velocityx View Post
        it doesn't work because you need to activate the affect navigation mesh and also it's not a good idea for alot of ai's
        Thx for your suggestion! How to activate the affect navigation mesh?

        Comment


          #5
          There is the detour AI crowd controller. You can try with that. Just use the detour AI crowd controller instead of the normal AI controller.

          https://www.youtube.com/watch?v=aqA30w4N5GE

          https://www.youtube.com/watch?v=nZxy9pLStpM
          Last edited by Shogo999; 07-24-2016, 01:05 AM.

          Comment


            #6
            Originally posted by Shogo999 View Post
            There is the detour AI crowd controller. You can try with that. Just use the detour AI crowd controller instead of the normal AI controller.

            https://www.youtube.com/watch?v=aqA30w4N5GE

            https://www.youtube.com/watch?v=nZxy9pLStpM
            Sorry for delay. Thx so much for your suggestion.

            Comment

            Working...
            X