This project demonstrates how to use the MG Dynamic Navigation (MGDN) plugin inside a real Unreal Engine level.
It shows how AI can navigate reliably on moving platforms using voxel grids, dynamic local-space pathfinding, and spline-based motion.
Original Plugin: https://github.com/cem-akkaya/MGDynamicNavigation
The demo includes:
- A sample moving ship platform with an MGDN Nav Volume
- A baked voxel grid stored in a
MGDNNavDataAsset - Example AI characters using MoveToLocationMGDNAsync
- Debug tools to visualize walkable voxels and path splines
- Example avoidance behavior and re-pathing
If you encounter any issues, please open an issue on the plugin repository.
Feel free to contribute!
- Download or clone this repository.
- Right-click the
.uproject→ Generate Project Files. - Build the project using Visual Studio or Rider.
- Open in Unreal Engine
- Ensure MG Dynamic Navigation plugin is enabled.
- Open the demo map and Play In Editor.
All demo logic is inside:
BP_MGDN_AICharacter(AI example)BP_MGDN_MovingShip(platform setup)MGDNNavVolumecomponent + data asset- Level Blueprint (simple test triggers)
The included level contains:
- A large moving ship actor with an MGDN Nav Volume
- Walkable areas generated via voxel grid bake
- AI that walks, avoids other pawns, and adapts to platform movement
- Buttons & triggers to command example AI movement
- Visualization widgets to inspect voxel data and splines
- Platform has MGDN Nav Volume
- Volume uses Bake Grid to generate walkable voxel asset
- At runtime, AI calls:
- MGDN creates a spline path that moves with the platform
- AI follows the path smoothly even if the ship moves or rotates
- Optional avoidance injects detour points dynamically
![]() Navigation Data Points Generation |
![]() AI Movement on Physics-Driven Platform |
![]() Runtime Spline Generation |
![]() Onboarding / Offboarding Navigation Transitions |

Full Dynamic Navigation in Action with simple avoidance / re-pathing.
This demo is only the showcase.
Download the full plugin here:
https://github.com/cem-akkaya/MGDynamicNavigation
This demo project is released under the MIT License.
Commercial use is allowed as long as the copyright notice remains.
If this project helped you, consider supporting development:




