Skip to content

wip fix ai air stuff#869

Draft
toberge wants to merge 2 commits intodevfrom
fix/ai-stuck-prevention
Draft

wip fix ai air stuff#869
toberge wants to merge 2 commits intodevfrom
fix/ai-stuck-prevention

Conversation

@toberge
Copy link
Copy Markdown
Contributor

@toberge toberge commented Oct 23, 2024

No description provided.

@toberge
Copy link
Copy Markdown
Contributor Author

toberge commented Oct 23, 2024

@Fueredoriku does this make a smidge of sense?

@Fueredoriku
Copy link
Copy Markdown
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
Copy Markdown
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