Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

how to tell if path finding has been blocked BEFORE it starts to move?

Asked by 4 years ago

so i just started to learn path finding and i want my person to go to a place unless there is an enemy nearby but i don't want it to start to move torwards the enemy unless if it can get there i don't want it to find out once the path is blocked how would you do that?

0
path.Blocked raid6n 2196 — 4y
0
ok can u put that as an answer? botw_legend 502 — 4y

1 answer

Log in to vote
1
Answered by 4 years ago

https://developer.roblox.com/en-us/api-reference/event/Path/Blocked

or use raycasting, raycasting is ur friend

Ad

Answer this question