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

a question about pathfinding?

Asked by 8 years ago

this is a simple question will the pathfinding service count a part that has a cancollide of false and a transparency of 1 when calculating a path or will it not because im dealing with a game that is scaled down right now and im curious if i can just make 'puesdo' barriers like i described above or if i might need to scale it up to accommodate the use of pathfinding. thanks for the help guys

0
Well the pathfininding service works using a grid size of 4x4x4 so you'll have to scale it up to atleast accomedate that BlackJPI 2658 — 8y
0
right now most assets are in the 2 - 4 range so i may need to use the parts described above to accommodate that restriction provided that parts like that will work which is my original question ProfessorSev 220 — 8y

1 answer

Log in to vote
2
Answered by 8 years ago

When calculating a path, PathfindingService basically creates it's own parts, and does not refer to anything else, so a barrier that you asked about is almost impossible.

But, you could try an make one that checks the parts positions, relative to the barrier's, and if the parts go through the barrier, it re-makes the path. It will be complicated, I can't do it myself.

Hope I helped :P

~TDP

0
ok i think i get it but im just gonna experiment because thats what this is about taking a risk ProfessorSev 220 — 8y
Ad

Answer this question