I decided to start creating pathfinding NPCs for my game and I’ve come across this issue where Waypoints are located in abnormal positions. I’ve used parts to determine their locations which resulted in the clip below.
I compute paths this way every 2 seconds.
Path:ComputeAsync(Root.Position, Target.Position)
NPCInfo.Waypoints = Path:GetWaypoints()
Then, I make the NPC follow the waypoints in their Info
table.
Feel free to ask for clarifications.