Setting Up APS Navigation
Step 1: Configuring Navigation Data
-
Go to Project Settings → Navigation System → Agents.
-
Add a new agent and set its Nav Data Class to APS_NavigationData.

Step 2: Using the Interface for Path Modification

- Ensure your character or controller implements the MoveToInterface.
- Implement the GetMoveToParameters function in the interface to configure path parameters.
- Parameters:
- Quality: Sets the path quality (from 0 to 100).
- ArcStrength: Determines the curvature of the path (0 for straight paths, positive values curve left, negative values curve right).
- Use navigation functions such as
MoveTo
to let the AI utilize the custom path settings.
Example of Interface Implementation in Blueprints:
- Open your character’s Blueprint.
- Go to the Class Settings and add the MoveToInterface.
- Implement the GetMoveToParameters function.
- Configure the parameters based on your project’s logic (e.g., adjusting
Quality
dynamically based on the distance to the target).
With this setup, your AI will dynamically adapt paths using parameters configured via the interface.
Step 3: Adding the Path Component (optional)
-
Open your character blueprint.
-
Add the APS Path Manager Component to the blueprint.
