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

The pathfinding result is incorrect when toggle Raycast shortcuts #72

Closed
Sarofc opened this issue Jul 14, 2024 · 1 comment
Closed

The pathfinding result is incorrect when toggle Raycast shortcuts #72

Sarofc opened this issue Jul 14, 2024 · 1 comment

Comments

@Sarofc
Copy link
Contributor

Sarofc commented Jul 14, 2024

see link below

recast4j/issues/196

@ikpil
Copy link
Owner

ikpil commented Jul 14, 2024

After checking recastnavigation's code, it seems that the shortcuts feature is not present. Therefore, we are testing towards its removal. I'll mention you once testing is complete

ikpil added a commit that referenced this issue Jul 18, 2024
Raycast is performed in 2d and it might report reaching the given position even if the Y coordinate is different than the target. Therefore, it is necessary to check what poly is actually hit by raycast before taking a shortcut.

- recast4j/recast4j#196
- recast4j/recast4j#197
- #72
ikpil added a commit that referenced this issue Jul 18, 2024
Raycast is performed in 2d and it might report reaching the given position even if the Y coordinate is different than the target. Therefore, it is necessary to check what poly is actually hit by raycast before taking a shortcut.

- recast4j/recast4j#196
- recast4j/recast4j#197
- #72
@ikpil ikpil closed this as completed Jul 18, 2024
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

No branches or pull requests

2 participants