2
submitted 1 year ago by [email protected] to c/[email protected]

Hoping for some advice on AI pathfinding terminology

Basically I have a town made of individual hex shaped tiles with buildings on them. Each tile will have footpaths too, and my little people will hopefully wander around the paths, travelling to other tiles via their path connections.

I'm fine with learning this stuff but just not sure exactly what terms to search for to get started!

Should I be looking up specific #Godot features for finding routes? Algorithms? Help!

@gamedev #GameDev

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 0 points 1 year ago* (last edited 1 year ago)

@teahands @gamedev I think the term you are looking for is 'A-star'.

Godot has build-in A-star algorithm for use which is best for tile-based (or just a lot of pre-defined points like in 2000s FPS) pathfinding, somewhere in scripts.

And it has more fancy navigation which is more for free-flow polygonal world. That is something far more complex than A-star, like 'just use library we have'

[-] [email protected] 1 points 1 year ago

@Foxysen @gamedev That is definitely a term I've heard thrown around before and never had cause to investigate what it actually is. Sounds like now's the time, thank you! 😅

this post was submitted on 08 Jul 2023
2 points (100.0% liked)

GameDev

2726 readers
2 users here now

A community about game development.

Rules:

More rules might follow if they become necessary; general rule is don't be a pain in the butt. Have fun! ♥

GameDev Telegram chat.

founded 1 year ago
MODERATORS