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

Fix teleporting on invisible navmeshes #5837

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

johnshaughnessy
Copy link
Contributor

Nav meshes are supposed to be invisible, but raycasting ignores invisible objects.

A more desireable fix might be to have a raycasting function that does not ignore invisible objects. For now, toggle visibility ON before raycasting and restore its initial value after the raycast.

This only happens while the user is attempting to teleport.

@johnshaughnessy johnshaughnessy merged commit 5950b41 into master Dec 7, 2022
@johnshaughnessy johnshaughnessy deleted the bug/teleporting-on-nav-mesh branch December 7, 2022 23:41
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.

None yet

1 participant