AI perception system rework
Hey everyone, I'm back with new devlog after a while.
I wanted to talk about the changes I made to the AI's perception system and why they were necessary. First of all, I need to discuss the previous way the enemy AI detected entities. It had a trigger sphere collider with a large range that would detect the player or other AIs on collision enter and then would lose interested in then once they were in a certain stipulated distance.
The reason why I felt the need to change was the unreliable way the detection was handle, happening only when entering the collider and furthermore, the possibility this system had to detect targets through walls and other obstacles.
My solution was to ditch the collider and instead use an overlap sphere that would take all entities in a certain distance in an angled FOV hemisphere and would also do a raycast in order to see if there isn't any object obstructing its view of it.
Thanks for the attention, stay safe, and see you in the next log!
Hopeless Forager
Can you survive the next ejection?
Status | In development |
Authors | arcane-ground games, TheOwl724, Lusenio Incidium |
Genre | Survival |
Tags | Action-Adventure, Horror, Singleplayer, Space |
More posts
- How do you make a computer within a computer game?Mar 01, 2024
- Issues when moving the ship between scenesMar 01, 2024
- How to handle itemsFeb 24, 2024
- Press and Hold interactions for playerFeb 24, 2024
- The Audio SystemFeb 17, 2024
- Item system revamp and the struggles that came with itFeb 02, 2024
- Item Transfer Update and ExpansionFeb 02, 2024
- Issues with interaction raycast and player model offsetJan 27, 2024
- Problems with carrying items from scene to sceneJan 27, 2024
Leave a comment
Log in with itch.io to leave a comment.