Please Add JumpHeight and FallHeight Parameters to PathfindingService

Right now its impossible for us to decide which height our pathfinding agent can jump and fall from.
My suggestion is to add JumpHeight : Number and FallHeight : Number parameters inside :CreatePath() function call

If ROBLOX is able to address this issue, it would help developers in these cases:

  1. Npcs will know how far they can fall, games that revolve around fall damage will not kill npcs.

  2. Npcs will be able to climb stairs, With CanJump=true Npcs keep jumping on stair cases when they climb stairs, with CanJump=False Npcs cant climb stairs. As well as they can jump certain height of walls. You can have 1 npc that can jump low walls while another that can jump higher walls.

  3. will help calculate path jump for larger/smaller npcs.

  4. will potentially fix the npc moving backwards while jumping

27 Likes

@watIsInTheName Hey there, has your team had any discussions about this? Seems like a reasonable feature request from my POV.

2 Likes

Desperately need this for my horror game

I despirately need this, my npc takes the longest route instead of jumping over a cliff they are 100% capable of!

2 Likes

Absolutely support this. My experience has fall-damage and I can’t tell NPCs to avoid falling distances that would cause them to take damage. Also, some of them jump at different heights so I’d like the service to realize that.

3 Likes

Bumping this as it feels really restricting to not have any control over the jump distance of pathfinding.

1 Like

i would not like to put 129301823012 pathfinding links through maps please at least consider this

3 Likes

Bump! This is a real problem and really needed. Got several issues with my NPCs due to them not just jumping down parts or not attempting to jump over parts. Worse is sometimes it doesn’t even try to generate a partial path, it just stands still.

4 Likes

Bumping this again because I still need it

3 Likes

Bumping this because it’d be REALLY useful..

4 Likes

This would be such a great addition to PathfindingService right now!

Having this customisability over how an agent is supposed to traverse a path would be a complete game changer. What we have currently is “okay”, but when it comes to certain NPCs that are meant to remain grounded at all times, PathfindingService is lacking in that department.

I’ve heard there are workarounds revolving around collision groups / invisible walls, but that adds a lot of unnecessary work when this could just be a parameter that developers can use.

@watIsInTheName, is there any possibility of this being looked into?

I’m currently working on a game that relies pretty heavily on PathfindingService, and the only real letdown is that my entities decide to walk straight off edges to take a shortcut. It hurts the immersion, especially when these entities are supposed to stay grounded at all times.

2 Likes

@SmallBusinessPancake you guys should absolutely consider this in your upcoming improvements to pathfinding as this would be a game changer for pathfinding