# sand-house/ue5-mass-entity-test architecture

> Architecture diagram of the GitHub repository sand-house/ue5-mass-entity-test, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sand-house/ue5-mass-entity-test
- Repository: https://github.com/sand-house/ue5-mass-entity-test

## Overview

This is a small Unreal Engine third-person navigation test project. The runtime path is: the player triggers the pawn’s navigation test, the pawn resolves the player character and path-point actors, then asks its AI controller to move toward the player. The controller also supports choosing a random path point, but the current pawn call to that behavior is commented out. The graph focuses on sampled C++ behavior; content assets are included only where source names them. The README provides no further feature detail.

Main entry points: [`Source/NavigationTest/NavTestPawn.cpp`](https://github.com/sand-house/ue5-mass-entity-test/blob/main/Source/NavigationTest/NavTestPawn.cpp) (Navigation Pawn), [`Source/NavigationTest/NavigationTestCharacter.cpp`](https://github.com/sand-house/ue5-mass-entity-test/blob/main/Source/NavigationTest/NavigationTestCharacter.cpp) (Third-Person Character), [`Source/NavigationTest/MyAIController.cpp`](https://github.com/sand-house/ue5-mass-entity-test/blob/main/Source/NavigationTest/MyAIController.cpp) (AI Controller), [`Source/NavigationTest/PathPoint.cpp`](https://github.com/sand-house/ue5-mass-entity-test/blob/main/Source/NavigationTest/PathPoint.cpp) (Path Points)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_setup["Game Setup"]
  node_game_mode["Game Mode"]
  node_third_person_bp["Character Blueprint"]
end

subgraph group_player["Player Character"]
  node_player_character["Third-Person Character"]
  node_enhanced_input["Enhanced Input"]
end

subgraph group_navigation["Navigation Test"]
  node_test_pawn["Navigation Pawn<br/>[NavTestPawn.cpp]"]
  node_ai_controller["AI Controller<br/>[MyAIController.cpp]"]
  node_path_points["Path Points<br/>[PathPoint.cpp]"]
end

node_player_actor(("Player"))

node_game_mode -->|"sets default pawn"| node_third_person_bp
node_player_actor -.->|"controls"| node_player_character
node_player_character -->|"binds actions"| node_enhanced_input
node_test_pawn -->|"finds target"| node_player_character
node_test_pawn -->|"collects actors"| node_path_points
node_test_pawn -->|"initializes points"| node_ai_controller
node_test_pawn -->|"requests target move"| node_ai_controller
node_ai_controller -->|"chooses random point"| node_path_points

click node_game_mode "https://github.com/sand-house/ue5-mass-entity-test/blob/main/Source/NavigationTest/NavigationTestGameMode.cpp"
click node_player_character "https://github.com/sand-house/ue5-mass-entity-test/blob/main/Source/NavigationTest/NavigationTestCharacter.cpp"
click node_enhanced_input "https://github.com/sand-house/ue5-mass-entity-test/blob/main/Source/NavigationTest/NavigationTestCharacter.cpp"
click node_third_person_bp "https://github.com/sand-house/ue5-mass-entity-test/tree/main/Content/ThirdPerson/Blueprints"
click node_test_pawn "https://github.com/sand-house/ue5-mass-entity-test/blob/main/Source/NavigationTest/NavTestPawn.cpp"
click node_ai_controller "https://github.com/sand-house/ue5-mass-entity-test/blob/main/Source/NavigationTest/MyAIController.cpp"
click node_path_points "https://github.com/sand-house/ue5-mass-entity-test/blob/main/Source/NavigationTest/PathPoint.cpp"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_game_mode,node_third_person_bp toneBlue
class node_player_character,node_enhanced_input toneAmber
class node_test_pawn,node_ai_controller,node_path_points toneMint
class node_player_actor toneIndigo
```

## Components

### Game Setup

- [Game Mode](https://github.com/sand-house/ue5-mass-entity-test/blob/main/Source/NavigationTest/NavigationTestGameMode.cpp): `Source/NavigationTest/NavigationTestGameMode.cpp`
- [Character Blueprint](https://github.com/sand-house/ue5-mass-entity-test/tree/main/Content/ThirdPerson/Blueprints): `Content/ThirdPerson/Blueprints`

### Player Character

- [Third-Person Character](https://github.com/sand-house/ue5-mass-entity-test/blob/main/Source/NavigationTest/NavigationTestCharacter.cpp): `Source/NavigationTest/NavigationTestCharacter.cpp`
- [Enhanced Input](https://github.com/sand-house/ue5-mass-entity-test/blob/main/Source/NavigationTest/NavigationTestCharacter.cpp): `Source/NavigationTest/NavigationTestCharacter.cpp`

### Navigation Test

- [Navigation Pawn](https://github.com/sand-house/ue5-mass-entity-test/blob/main/Source/NavigationTest/NavTestPawn.cpp): `Source/NavigationTest/NavTestPawn.cpp`
- [AI Controller](https://github.com/sand-house/ue5-mass-entity-test/blob/main/Source/NavigationTest/MyAIController.cpp): `Source/NavigationTest/MyAIController.cpp`
- [Path Points](https://github.com/sand-house/ue5-mass-entity-test/blob/main/Source/NavigationTest/PathPoint.cpp): `Source/NavigationTest/PathPoint.cpp`

### Other components

- **Player**

## Connections

- Game Mode → Character Blueprint: sets default pawn (evidence: `Source/NavigationTest/NavigationTestGameMode.cpp`)
- Player → Third-Person Character: controls
- Third-Person Character → Enhanced Input: binds actions (evidence: `Source/NavigationTest/NavigationTestCharacter.cpp`)
- Navigation Pawn → Third-Person Character: finds target (evidence: `Source/NavigationTest/NavTestPawn.cpp`)
- Navigation Pawn → Path Points: collects actors (evidence: `Source/NavigationTest/NavTestPawn.cpp`)
- Navigation Pawn → AI Controller: initializes points (evidence: `Source/NavigationTest/NavTestPawn.cpp`)
- Navigation Pawn → AI Controller: requests target move (evidence: `Source/NavigationTest/NavTestPawn.cpp`)
- AI Controller → Path Points: chooses random point (evidence: `Source/NavigationTest/MyAIController.cpp`)
