AI Navigation Node Component

From Pummel Party Mod Documentation
Revision as of 20:42, 4 December 2022 by RBDev (talk | contribs) (Initial content)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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 want 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 "Gimzmos" 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