Rising World

Rising World

human NPC path finding
i noticed int he next update there was something about pathfinding.

Will this fix the way npc humans can stroll all over near vertical cliffs like mountain goats?
< >
Showing 1-2 of 2 comments
Originally posted by messy:
i noticed int he next update there was something about pathfinding.

Will this fix the way npc humans can stroll all over near vertical cliffs like mountain goats?

I agree, need to be fixed.
Aug 23 @ 7:47am 
We're currently working on 3 things when it comes to npc path finding: navigation, collision detection and "true pathfinding". True pathfinding means that npcs actually plan their route and avoid obstacles from the start (using a true search algorithm like A*). "Navigation", on the other hand, mainly refers to the current heuristic approach, meaning that npcs do not know the way but still try to reach the player. "Collision" basically just covers things like preventing npcs from passing through walls/roofs (or getting stuck in walls) etc.

Unfortunately the next update won't introduce true pathfinding yet, but greatly improved navigation and collision detection instead (especially fixing some collision bugs in the current version) ^^

But these features do not affect the maximum slope an npc can climb. For human npcs (like bandits), the maximum slope angle is currently 60°. We could reduce this of course (on the other hand, players can climb these slopes relatively easily, which would make it easier for them to escape from npcs).

However, there is currently also a bug that causes npcs to get pushed over obstacles (typically resulting in npcs standing on roofs etc). Sometimes that might also allow them to climb slopes which are steeper than 60°. Not sure if this is really the same issue you've been experiencing, but that bug will be fixed in the next update ;)
< >
Showing 1-2 of 2 comments
Per page: 1530 50