Chase NPC Climbing Function Problem

I remember using this script before, I made the npc climb by replacing
“path = pfs:FindPathAsync(hroot.Position, enemytorso.Position)”
with
“path = pfs:CreatePath(
{AgentRadius = 2,
AgentHeight = 3,
AgentCanJump = true,
AgentCanClimb = true,
WaypointSpacing = 5})
path:ComputeAsync(hroot.Position, enemytorso.Position)”

1 Like