Hey, I was making a pathfinding npc and it’s supposed to follow this path.
But for some reason the path is never computed. It always says “NoPath” in the status.
Here’s the entire workspace, the baseplate has CanCollide turned off. The Start and End blocks also have have collision turned off.
I use this to generate a path.
GeneratePath module
local module = {}
function module.Gen(MAP)
local p = game.PathfindingService:CreatePath({
AgentCanJump=false,
AgentRadius=1,
})
p:ComputeAsync(MAP.Start.Position,MAP.End.Position)
print(p.Status)
local w = p:GetWaypoints()
return w,p.Status
end
return module
But for some reason everytime the path isn’t computed right. No errors.
Hi, Thanks for the repo. I do see that navmesh is have gaps in between and since you are setting AgentCanJump = false, it cant generate the path. However we will investigate why there is a gap in the navmesh