Skip to main content

Installation

Steering AI is split into four main folders.

1) Importing Samples

The samples can be imported in the package manager as shown below.

Description of the image

2) Add a STEERING_DEBUG symbol

Add a script define symbol STEERING_DEBUG. This will allow you to debug the behaviors.

tip

For a slight performance increase, make sure to remove the symbol before releasing your project.

  1. Navigate to Project Settings/Player/Other Settings
  2. Add STEERING_DEBUG
  3. Click apply
Description of the image

Adding STEERING_DEBUG into script define symbols.

3) Initialize Samples

After importing the project, you need to mark all SteeringSystemAsset as Addressable.

  1. Search for t:SteeringSystemAsset in the Project window and select all of them.
  2. In the inspector check Addressable on all the assets.
Description of the image

Locating all instances of SteeringSystemAsset.

Description of the image

Marking the assets as Addressable.

4) Set Renderer to Forward+

The samples use com.unity.entities.graphics to draw the entities. To ensure proper set up, you need to use Forward+ rendering.

  1. Search for t:UniversalRendererData.
  2. Set RenderingPath to Forward+ on all of them.
Description of the image

Locating all instances of UniversalRendererData.

Description of the image

Instance of UniversalRendererData with Forward+ selected.

5) Test

Open the sample scene at Samples/SteeringAI/1.0.0/SteeringAI Samples/1. Minimal Set Up/SampleScene.unity and run it. The entities in the scene should start moving forward.