lua - Making an AI - How to make path finding? -
hey, making ai on roblox , can't seem figure out start path finding, common ai feature. can help?
p.s. don't know raycasting, can't use option.
as suggested, you'll want take @ a* algorithm. it's workhouse of pathfinding. if don't think can that, try simpler. there many techniques out there, including breadcrumb trails pursuing ai characters, example. apply barebones (1,0,0) vector moving right, (-1,0,0) vector moving left, , on @ specific intervals while game running. working first. in case, you'll encounter graphs @ 1 point or while adding pathfinding, read on subject.
Comments
Post a Comment