FlexPath – Smooth Navigation
Flex Path transforms rigid NavMesh paths into smooth, natural movement.
It delivers stable navigation, fluid character rotation, and full control over path behavior, improving both gameplay feel and visual quality without replacing Unreal’s built-in navigation system.
Features:
Adaptive Path Smoothing: Applies curve interpolation only where needed based on path deviation, preserving straighter segments and avoiding unnecessary smoothing.
Localized Curve Influence: Controls smoothing influence near segment ends and across longer segments for cleaner transitions and better path shape preservation.
Dynamic Look-Ahead Steering: Uses a speed-based forward target along the path to drive smoother navigation and more stable character facing.
Custom Character Rotation: Overrides default automatic rotation behavior with path-driven interpolation for more controlled alignment.
Consistent Path Sampling: Resamples smoothed paths using configurable spacing for more stable and predictable traversal.
Path Cleanup & Simplification: Removes nearly collinear points after resampling to keep the final path cleaner without losing its intended shape.
NavLink-Aware Processing: Splits and processes paths around NavLinks to preserve valid navigation flow and critical traversal points.
Anchor-Aware Path Following: Uses stricter target handling near anchors such as path endpoints and NavLinks while keeping smoother behavior on intermediate points.
Per-AI Configuration: Supports both default settings and per-controller overrides for smoothing and following behavior.
Debug Visualization Tools: Includes debug drawing for smoothed paths, original paths, and steering targets during development.
Blueprint & C++ Ready: Exposes smoothing and controller configuration workflows for both Blueprint and C++ integration.
Technical Details
Code Modules:
FlexPath(Type: Runtime)
Number of C++ Classes: 4
Network Replicated: No need
Supported Development Platforms:
Windows: Yes
Mac: Not tested
Supported Target Build Platforms: Windows, (not tested but it should be fine with all other platforms)
Documentation Link: https://docs.google.com/document/d/1-g7Jg13cunybVe-iQDKrjOFzTQJVQyyY2y_Ai1uKXJU/edit?tab=t.0#heading=h.ftkil0gh3noi
Example Project: https://drive.google.com/drive/folders/1OoLWnFb4macJfFruU63q36eqxSVXp5hX
Important/Additional Notes: Not compatible with Detour Crowd AI Controller