Jump to content

Navmesh pathfinding in BlitzMax


Aily
 Share

Recommended Posts

I don't know how your NPCs are walking.

 

My first idea was a waypoints - and i maked it for LUA, my NPC can walk in Editor, but as like on rails.

 

So i spended some time to write this simple mesh pathfinding.

 

Now it on b3d, i'm planing to some update it and port in Leadwerks Editor.

 

To set start-finish nodes use mouse right\left buttons.

To see debug lines hold space button.

post-260-0-76287500-1322018004_thumb.jpg

post-260-0-75907300-1322018009_thumb.jpg

navmesh_basics.rar

"Better" is big enemy of "good"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...