Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APawn
Syntax
UPROPERTY (EditAnywhere, BlueprintReadOnly, Category=Pawn)
uint32 bCanAffectNavigationGeneration: 1
Remarks
If set to false (default) given pawn instance will never affect navigation generation (but components could). Setting it to true will result in using regular AActor's navigation relevancy calculation to check if this pawn instance should affect navigation generation.
Use SetCanAffectNavigationGeneration() to change this value at runtime.
Modifying this value at runtime will result in any navigation change only if runtime navigation generation is enabled.
Override UpdateNavigationRelevance() to propagate the flag to the desired components.