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

wip fix ai air stuff #869

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from
Draft

wip fix ai air stuff #869

wants to merge 2 commits into from

Conversation

toberge
Copy link
Contributor

@toberge toberge commented Oct 23, 2024

No description provided.

@toberge
Copy link
Contributor Author

toberge commented Oct 23, 2024

@Fueredoriku does this make a smidge of sense?

@Fueredoriku
Copy link
Contributor

Fueredoriku commented Oct 23, 2024

I think it's a good idea to check if the AI is grounded and use that to force the AI to only setDestination when grounded. Using the stepping(edging lol)-check is a good way to do that, as long as we make sure to modify the collider a bit. I think the stepping collider has to be a lot thinner to avoid still getting stuck on walls in the pit.

@toberge
Copy link
Contributor Author

toberge commented Oct 26, 2024

The more I dig into this, the more it seems that the AI code is in dire need of being refactored into a state machine so we have an easier time working on it...

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