Summary
In this chapter, we implemented a simple path-finding navigation. After an overview of methods to allow computer-controlled instances to navigate in a game map, we explored and implemented the A* path-finding algorithm, supported by a custom navigation mesh creation. Then, we modified models to use them as navigation targets in the virtual world and enabled instances to use instances of the special models as path targets. As the last step, we added navigation to the instances, allowing them to walk or run toward a random target.
In the next and last chapter of the book, we will take a step back from the implementation side and take a look at different ways to enhance immersion and visual quality. We will start with the audible side and discuss methods and tools to add sound effects and music to the application. Then, we will check out ideas to fill the world with more life, followed by a discussion about ideas to enhance the visuals in the virtual world. We will look at...