Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clearance detection and option in search method #45

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

wibimaster
Copy link

Hi,

To move character bigger than 1x1 tile, I had to write a clearance detection.
The clearance of each Node is stored at the Graph init, and we can use a "clearance" value in the search options.
This script works for 2x2 tile for example, but isn't very accurate for 2x1 or 1x2 sized character.

Maybe someone can help me to optimize this a little more too ;)

@jorbascrumps
Copy link

Have you been able to improve accuracy on this, @wibimaster?

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