804GS TOOLS - AI Detection

$4
Publisher 804 Game Studios, LLC
File size 200.89kB
Number of files 61
Latest version 1.2.1
Latest release date 2021-08-24 11:54:49
First release date 2021-07-29 05:44:12
Supported Unity versions 2018.4.2 or higher

804GS TOOLS - AI Detection is a lightweight, easy-to-use, rapid AI prototyping tool. By simply setting some LayerMasks to your GameObjects with a Collider, you can turn anything into an AI with a Field of View detection system. Add a little more and you can widen your AI's detection by adding Audio or "Pulse Trigger" detection. Have as many zones as you see fit and change ranges and debugging colors.


What can it be used with?

Absolutely anything that requires some sort of AI detection


How do I set up a Field of View Detection AI?

1. Assign an AI Detection Agent with a Field of View detection to selected GameObject by using the following:

"804 Game Studios/AI/Add FOV Zones"

2. Assign a Collider and a LayerMask to a GameObject that you want to listen/look for

3. Select the newly assigned LayerMask in the FOV AI Detection Zone settings

4. Adjust the zones' range, angle, etc. to fit the needs for your AI Detection Agent


How do I set up an Audio or "Pulse Trigger" Detection AI?

1. Assign an AI Detection Agent with a Field of View detection to selected GameObject by using the following:

"804 Game Studios/AI/Add Audio Zones"

2. Assign a Collider and a LayerMask to a GameObject that you want to listen/look for

3. Select the newly assigned LayerMask in the AI Detection Zone settings

4. Adjust the zones' range to fit the needs for your AI Detection Agent

5. Trigger the UnityEvent via code, or through an Animation Trigger (Example is demonstrated in the included video.


What is the Audio or "Pulse Trigger" used for?

Instead of having a specific target that your AI will follow, attack or flee from...the Audio or "Pulse Trigger" is instantiates a temporary object that is detected and goes away. This can be used for AI that hears a footstep and seeks it out, a large explosion that everyone runs away from, etc.


Why would I need more than one zone?

Stacking zones can enhance your AI capabilities. For example, you may want to have your AI invoke different methods depending on if a target is far away versus close in a peripheral view. Your AI may be able to detect things in all different angles, but reacts differently depending on range. The point is, you have the flexibility to use it to fit your project's needs.


Top Publisher Assets