AI Navigation Node Component: Difference between revisions
(Initial content) |
mNo edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
The AI Navigation Node Component is a [[:Category:Gameplay Components|Gameplay Component]] that allows AI controlled players to path-find more believably around a minigame scene than if there were no nodes. Multiple [[Gameobject]]s containing navigation components can connect together to form a network of walkable paths that AI players will move along. | The AI Navigation Node Component is a [[:Category:Gameplay Components|Gameplay Component]] that allows AI-controlled players to path-find more believably around a minigame scene than if there were no nodes. Multiple [[Gameobject]]s containing navigation components can connect together to form a network of walkable paths that AI players will move along. | ||
== Component Settings == | == Component Settings == | ||
[[File:AINavigationNodeComponent.png|thumb|500px|The AI Navigation Node in the [[Inspector Window]].]] | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 8: | Line 9: | ||
|'''Connected Nodes''' || A list of all nodes that this node '''connects to'''. Does not show incoming connections. | |'''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 | | '''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. | ||
|- | |- | ||
|} | |} | ||
<br clear="all"> | |||
== Usage == | == Usage == | ||
[[File:ConnectingAINavNodes.gif|thumb|right|240px|Connecting three nodes together.]] | [[File:ConnectingAINavNodes.gif|thumb|right|240px|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 Component]]s in Board Mods. The Nodes should be placed on the ground where | 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 Component]]s 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 " | 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. | ||
[[File:AINavGizmoButton.png|thumb|left|300px|Both of these must be enabled to see the gizmos for this component.]] | [[File:AINavGizmoButton.png|thumb|left|300px|Both of these must be enabled to see the gizmos for this component.]] | ||
<br clear="all"> | <br clear="all"> | ||
== Example == | == Example == | ||
Here you can see how AI Nav nodes have been used in the minigame Aftershock Arena. | Here you can see how AI Nav nodes have been used in the minigame Aftershock Arena. |
Latest revision as of 00:13, 16 December 2022
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 wants to reach. AI Players will try to navigate to this node. |
Usage
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.
Example
Here you can see how AI Nav nodes have been used in the minigame Aftershock Arena.