Skip to content

cem-akkaya/MGDynamicNavigationDemo

Repository files navigation

MG Dynamic Navigation – Demo Project (UE5.7)

mgdn-demo

About This Demo

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!


How to Use the Demo

  1. Download or clone this repository.
  2. Right-click the .uprojectGenerate Project Files.
  3. Build the project using Visual Studio or Rider.
  4. Open in Unreal Engine
  5. Ensure MG Dynamic Navigation plugin is enabled.
  6. Open the demo map and Play In Editor.

All demo logic is inside:

  • BP_MGDN_AICharacter (AI example)
  • BP_MGDN_MovingShip (platform setup)
  • MGDNNavVolume component + data asset
  • Level Blueprint (simple test triggers)

Inside the Demo Project

Demo Level

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

Navigation Flow in Demo

  1. Platform has MGDN Nav Volume
  2. Volume uses Bake Grid to generate walkable voxel asset
  3. At runtime, AI calls:
  4. MGDN creates a spline path that moves with the platform
  5. AI follows the path smoothly even if the ship moves or rotates
  6. Optional avoidance injects detour points dynamically

Demo Images


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.


Plugin Link

This demo is only the showcase.
Download the full plugin here:

https://github.com/cem-akkaya/MGDynamicNavigation


License

This demo project is released under the MIT License.
Commercial use is allowed as long as the copyright notice remains.


Support Me

If this project helped you, consider supporting development:

About

This is a UE5 demo project for the MG Dynamic Navigation plugin, showcasing AI movement on moving platforms using MGDN’s voxel grid and local-space pathfinding. All demo logic is contained in the sample AI Blueprints and moving platform setup.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors