A Quick Guide to Artificial Intelligence with Unity (Quick Guides, #4) by Patrick Felicia

A Quick Guide to Artificial Intelligence with Unity (Quick Guides, #4) by Patrick Felicia

Author:Patrick Felicia
Language: eng
Format: epub
Tags: artificial intelligence, unity, game programming
Publisher: Patrick Felicia
Published: 2020-10-02T00:00:00+00:00


Figure 12: Baking the walls

As we have done before click on the options Navigation Static, and then click on the button labelled Bake, that is within the tab called Bake.

After baking the scene, it should look as in the following figure:

Figure 13: The scene baked

For a more dramatic effect, and to really see the NPC moving towards the player, you can change the position of the player to (-40, 0, -10).

As you play the scene, you should see that the NPC follows you by avoiding the walls, as in the next figure.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.