Jump to content

WebWalking walk random direction


Recommended Posts

Posted (edited)

Try to use a WebWalkEvent and call useSimplePath() this will try to take a more direct route to the target. It will use more memory but it might help since it won’t try to follow roads.

Otherwise you could set a condition for the WebWalkEvent to break when it ventures to far off the path that it has calculated by retrieving it with getPositions() than looping through that finding the closest point that is closest to you and closest to the target point and having a threshold of a overshoot before restarting the event.

Edited by BravoTaco
  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...