AI Navigation Node Component

From Pummel Party Mod Documentation
Jump to navigation Jump to search

The AI Navigation Node Component is a Gameplay Component that allows AI-controlled players to path-find more believably around a minigame scene than if there were no nodes. Multiple Gameobjects containing navigation components can connect together to form a network of walkable paths that AI players will move along.

Component Settings

The AI Navigation Node in the Inspector Window.
Property Description
Connected Nodes A list of all nodes that this node connects to. Does not show incoming connections.
Is AI Goal Set this to true if this node represents a point that the AI wants to reach. AI Players will try to navigate to this node.


Usage

Connecting three nodes together.

Place gameobjects containing AI Navigation Nodes at key intersection points in the scene. Use the blue arrows to connect multiple nodes together, similar to connecting Board Space Components in Board Mods. The Nodes should be placed on the ground where AI players can reach them.

If the gizmos are not visible, make sure that both the "Gizmos" button (Flag icon) and the "AI Nav Gizmos" button (Network icon) are enabled from the toolbar.

Both of these must be enabled to see the gizmos for this component.


Example

Here you can see how AI Nav nodes have been used in the minigame Aftershock Arena.

NavInAftershockArena.png