Works similarly to NPC:NavSetRandomGoal.
1 Vector pos
The origin to calculate a path from.
2 number length
The target length of the path to calculate.
3 Vector dir
The direction in which to look for a new path end goal.
Whether path generation was successful or not.