#(xericker) NPCs sometimes don't path correctly in water

13 messages · Page 1 of 1 (latest)

weary saffron
#

Is there a setting I can change to make the NPCs feel more 'alive' in the water? Sometimes, they just jump up and down without any directional movement. Other times, they get near the ledge, try to jump out of the water, but fail. Occasionally, they successfully path out of the water. I've tested this in numerous terrain scenarios, but this one is pretty simple, so in my opinion, it should work normally.

Here's the video for reference:
https://youtu.be/40zW5K8GSRk

violet scarabBOT
#

(xericker) NPCs sometimes don't path correctly in water

violet scarabBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

dense walrus
#

@weary saffron there is an open issue related to this

#

Are you using the new pathfinder?

weary saffron
# dense walrus Are you using the new pathfinder?

Yes, that's the code:

        NavigatorParameters parameters = npc.getNavigator().getDefaultParameters();
        parameters.distanceMargin(0);
        parameters.useNewPathfinder();
        parameters.avoidWater(false);
        parameters.range(100);
        parameters.stuckAction(null);
        parameters.stationaryTicks(-1);
dense walrus
#

I'll try get you a link later

weary saffron
#

Thanks

old pilotBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@weary saffron