Skip to content

fix some functionality with clearances#63

Open
Goober5000 wants to merge 1 commit into
Yonaba:masterfrom
Goober5000:fix_clearance
Open

fix some functionality with clearances#63
Goober5000 wants to merge 1 commit into
Yonaba:masterfrom
Goober5000:fix_clearance

Conversation

@Goober5000

Copy link
Copy Markdown
  1. Some search algorithms that accepted clearance as a parameter did not pass it along to getNeighbours, resulting in neighbors being selected when they shouldn't have been.
  2. The Theta-star algorithm did not handle clearance at all because it passed an extra incorrect parameter to isWalkableAt.

1. Some search algorithms that accepted `clearance` as a parameter did not pass it along to `getNeighbours`, resulting in neighbors being selected when they shouldn't have been.
2. The Theta-star algorithm did not handle clearance at all because it passed an extra incorrect parameter to `isWalkableAt`.
@mokalux

mokalux commented Dec 3, 2023

Copy link
Copy Markdown

it seems this PR was merged!?

@Goober5000

Copy link
Copy Markdown
Author

@mokalux It wasn't merged in this repository; the latest commit in the master branch was in 2019. Was it merged in a fork?

@mokalux

mokalux commented Dec 4, 2023

Copy link
Copy Markdown

yes that is weird, I may have gotten an updated version of jumper from the author on a forum (Gideros in my case) and all the PRs you guys made are in my version of jumper!

I may have compared my version vs your PR and wrongly assumed they were merged!

Sorry for the inconvenience!

for ref the forum link: https://forum.gideros.rocks/discussion/1081/jumper-very-fast-pathfinder-for-2d-grid-based-games/p1

@Goober5000

Goober5000 commented Dec 4, 2023

Copy link
Copy Markdown
Author

It's all good. Thank you for the link!

EDIT: I don't see a separate download link on that forum thread. Where did you get the updated version?

@mokalux

mokalux commented Dec 4, 2023

Copy link
Copy Markdown

I went through the forum link again and indeed all the jumper links seem to be broken. I come to the conclusion I may have added all your guys PRs into my own manually!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants