Original Discord Post by marcelsterk | 2024-09-20 11:51:55
Hi!
I’ve added a navigation mesh to the environment, and it works well when I ask the bot to follow me. However, when the bot needs to walk towards a specific object (which is part of a machine and surrounded by it) during a conversation, it either glitches into the machine or reports that it can’t reach the object.
What confuses me is how the bot is able to glitch into the machine when the navigation mesh looks really good. I’ve even added extra blocking volumes to prevent this from happening, but the issue persists.
I believe the problem might be because the object is part of the machine, and since the bot can’t stand directly next to it, it causes these issues. Does that sound correct?
I also tried adding target points with tags for the bot to navigate toward, but the same problem seems to occur.
Do you have any suggestions or best practices to address this?
<@454014247559495683> , you can add an empty actor in front of your machine and use it as a location reference for the machine. This way, the character won’t interfere with the machine’s collision bounds.
<@454014247559495683> try using the target actor for the AI Move To function instead of a location, and adjust the acceptance radius within the AI Move To function.
Hey Brute thanks, could you tell me what the acceptance radius should be set at. I believe a higher acceptance radius equals to the bot accepting a position outside of where it can stand, is that correct?
Could you briefly show me how that blueprint should look like?