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

Questions on large monsters using PathfindingService?

Asked by 6 years ago

Hi guys, I know that the path finding service that's available is to be used by normal size models (Like our Character) . But if i were to make a giant model, that path finder will no longer work as it should be since it cant squeeze through obstacles that small character could right?

Another question would be if i give a monster a ridiculous jump value, will the PathfindingService account that jump height into it's path finding? Same question goes for monster with flying state.

Thanks!

1 answer

Log in to vote
0
Answered by 6 years ago

Sadly these things are not included in the pathfinding as it only take the start position and the end position. Any changes to the jump power are not included in the path finding.

It is setup for a default character so the PathWaypoint Action and waypoints do not reflect the actual capabilities of the NPC using the path.

I have seen the jump power requested to be included in the path finding but never the whole NPC. It would require a lot of additional processing and pathfinding needs to be as fast as possible. Put simply this is not an easy thing to achieve.

0
Ahh thanks a lot. I guess if i really want to make a giant monster battle, one solution would be to make players fight it at a barren land with little to no obstacles lesliesoon 86 — 6y
0
If the landscape is fixed you should be able to build your own paths through the map then just find the shortest path to that player / target area. You can try and mix this with path finding but im not sure how well this would work. User#5423 17 — 6y
Ad

Answer this question