Introduction
In this chapter, we will learn different approaches to simulating sense stimuli on an agent. We will learn how to use tools that we are already familiar with to create these simulations, colliders, and graphs.
In the first approach, we will take advantage of ray casting, colliders, and the MonoBehaviour functions bound to this component, such as OnCollisionEnter, in order to leverage the need to acquire objects nearby in the three-dimensional world. Then, we will learn how to simulate the same stimuli using the graph theory and functions so that we can take advantage of this way of representing the world.
Finally, we'll learn how to implement agent awareness using a mixed approach that considers the previously learned sensory-level ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access