How to make roblox npcs do parkour

yeah i tried using A* to make npcs do parkour in uhh 3D but its impossible i think idk
https://www.youtube.com/watch?v=zRxcLPgKGVY
still very new to programming on roblox but its taken me 2-3 years and I can not figure it out and how do you make npcs smart
btw not this very different
https://www.youtube.com/watch?v=uzusbTeSKD4

i think the issue is that the npc jumps before it walks very similar to the roblox click to move system but i want something better than that

idk how to raycast above or below platforms
making npcs do wraparounds impossibl too

hi I guess you need it PathfindingService | Documentation - Roblox Creator Hub
You could better understand how AI works to make your project successful
The only way to make NPCs intelligent is to train them which is the scope of the AI

i used that too but ya it doesnt detect gaps sometimes and even if it does detect the next jump it jumps into the gap :skull: but thanks for eplying man i appreciate it!!

Then you can make a unique set of algorithms for your place. You also need to understand how AI is getting smarter and have a deep understanding of wayfinding algorithms

thats well easier said than done but uhh I tried raycasting any parts in front of the npc and detecting it but the npc wont let me walk before jumping

the main issue is the wraparounds and i asked eleos05 how to create a system like his

whoops forgot the link https://www.youtube.com/watch?v=zRxcLPgKGVY
https://www.youtube.com/watch?v=NkmHITKc_cI

bro I understand your problem
You should need to implement an AI and a wayfinding algorithm

i tried but it broke and i asked claude but same problem

closest thing i can find is a tool assisted speed run but that doesnt help to much

yep. we devlope an AI on Roblox it’s so cool. but we must know how to teach them to learn? :thinking:
You can use the state machine to record the behavior of NPCs . THEN You need to record the NPC’s behavior and then write a bunch of code that we can’t see to help them complete their runs.
AND the topic comes back to raycast :sweat_smile:
Roblox’s Pathfinding Service can help you sometimes, but this is a bit out of my knowledge

oh ok yeah for sure its just I dont think this requires any ai on roblox at all its just a custom pathfinding system/wayfinding algorithm using A* in 3 dimensions kind of

all in all, to make NPCs smarter is to make an AI model