NavLink and making AI jump?

If you have your [FONT=Lucida Console]UUNavArea_Jump::Jump == 1 then[FONT=Lucida Console] if (AreaFlags >> 2) will always fail. You really need to read those bit flags tutorials :wink:

I just had a throughout read of the code you’ve posted and it seems you’re never setting your navigation area’s flags! You need this piece of code in your area’s constructor:


UUNavArea_Jump::UUNavArea_Jump(const class FPostConstructInitializeProperties& PCIP)
	: Super(PCIP)
{
    AreaFlags = (1 << UUNavArea_Jump::Jump);
}

You must have missed it from my initial description of how to pull this off with C++. This is required for navmesh generation to know this area represents “jumpable” connections.

[=CHADALAK1;26166]
I also tried using FVector:: Dist with the distance between the link and the AI, it crashes the engine to try :(… so getting the distance between the link and the AI to activate is out of the question Dx
[/]

Measuring distance between two valid vectors will never crash, which means you’re either trying to extract a location from a NULL pointer or passing some NaN values. I’d suggest you investigated that since it suggests you’re assumptions are wrong somewhere.