Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Need help with Crowd Path Behavior for NavMesh

Discussion in 'Scripting' started by mgrenier, Apr 26, 2011.

  1. mgrenier

    mgrenier

    Joined:
    Apr 26, 2011
    Posts:
    57
    Firstly, I'm new to this forum thing, so if I'm in the wrong place, please point me in the right way. One more thing, I'm french, so don't whine too much about my grammar ;)

    I've been working on a navigation mesh for quite a while now, you can read about it on my blog, and I've reach the fun part of making a crowd path follow behavior.

    I've built a prototype for you guys. I'd really appreciate it if you guys could point me to some links, books, essays about Steering Behavior or other technique of natural behaviors

    I also attach a screen from my scene + gizmos : green lines, links; pink lines, vertices normals; red lines, A* path; orange square, target; cyan circles, agents; black lines, optimized path (string pulled).

    $NavMesh-optimized-path.gif
     
    Last edited: Apr 26, 2011
  2. reissgrant

    reissgrant

    Joined:
    Aug 20, 2009
    Posts:
    727
    Good work so far. This might help:

    Click Here
     
  3. mgrenier

    mgrenier

    Joined:
    Apr 26, 2011
    Posts:
    57
    That led to the Unity port of OpenSteer. That will certainly help me, thanks!
     
  4. mgrenier

    mgrenier

    Joined:
    Apr 26, 2011
    Posts:
    57
  5. jgodfrey

    jgodfrey

    Joined:
    Nov 14, 2009
    Posts:
    565
    Nice resource - thanks for the link.
     
  6. mgrenier

    mgrenier

    Joined:
    Apr 26, 2011
    Posts:
    57
    Actually, after this thread I started a post on my blog as a links depot on the subject. I'll add links I find through my research and readings.
     
  7. mgrenier

    mgrenier

    Joined:
    Apr 26, 2011
    Posts:
    57
  8. reissgrant

    reissgrant

    Joined:
    Aug 20, 2009
    Posts:
    727
    Looks great, nice work!
     
  9. kresnik

    kresnik

    Joined:
    Sep 28, 2012
    Posts:
    7
    can you show me the code how to draw that black lines gizmo? (optimized path, the point is, how to draw path that not the A* path) . pleasee. many thanks