Summary
In this chapter, we have explored three key methods for detecting interactions between objects in 3D games:
Collision detection
Ray casting
Trigger collision detection
These three techniques have many individual uses, and they are key skills that you should expect to reuse in your future use of Unity.
In the next chapter, we'll make further use of triggers. We will create a collection game in which the player must find power cells in order to power a generator and unlock the outpost door, and write code to disallow entry to the outpost unless the generator is fully powered.