4.7 - Bye "NavigationComponent", project no longer compiles

Hi…

The API don’t list any entry to “FindSimplePathToLocation( )” and looks like NavigationComponent got kicked from the Engine (OK, I imagine that you gave us something better as usual :wink: ), but could you please point some directions to where to start implementing a “4.7ish” replacement to the older pathfind system?

Kind of: “Where to start digging?” LOL

Thank you.

The only entry I’ve found on the API chm about UNavigationComponent is as return from AAIController::GetNavComponent( ), sort of weird… :frowning:

The “new?” pathfind system trough FPathFindingResult and FPathFindingQuery could be understood watching the UNavigationSystem::SimpleMoveToLocation( ) method.

By testing FPathFindingResult.Path.PathPoints.Num( ) == 2 (start and end) the system “theoretically” will point if it’s a straight line or not, so summing it to an IsSuccessful( ) test, the behaviour could be the same.

Dunno, if it’s the optimal solution, but at least got my game to work again. :smiley:

Thanks