Forum Thread
  Posts  
Pathfinding in a hex-grid map (Forums : Coding & Scripting : Pathfinding in a hex-grid map) Locked
Thread Options
Aug 17 2012 Anchor

Hi,
I'm pretty new with that whole scripting thing but I'm starting a game in unity using javascript. Unfortunately, I'm completely lost with the pathfinding since it's in a hex-grid map.
How should I do this ?

Dragonlord
Dragonlord Linux-Dragon of quick wit and sharp tongue
Aug 17 2012 Anchor

Have a look at A* algorithm. It works for all kinds of regular grids. Policyalmanac.org should get you started implementing it in JS.

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.