Skip to content

Commit

Permalink
Experimental BP Nav interace
Browse files Browse the repository at this point in the history
  • Loading branch information
Delaunay committed Jun 12, 2022
1 parent a325333 commit 9f20c46
Show file tree
Hide file tree
Showing 4 changed files with 600 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
#include "Kismet/KismetMathLibrary.h"
#include "Net/UnrealNetwork.h"
#include "AbilitySystemComponent.h"
#include "NavigationSystem.h"
#include "Navigation/PathFollowingComponent.h"

//#define DEBUG_MOVEMENT

Expand Down Expand Up @@ -409,3 +411,4 @@ UGKAbilitySystemComponent *UGKAbilityTask_MoveToDestination::GetTargetASC()
{
return Cast<UGKAbilitySystemComponent>(AbilitySystemComponent);
}

Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ class GAMEKIT_API UGKAbilityTask_MoveToDestination: public UAbilityTask
UPROPERTY()
FGameplayAbilityTargetDataHandle TargetData;

UPROPERTY()
bool bUsePathfinding;

// States
UPROPERTY()
TWeakObjectPtr<AActor> TargetActor;
Expand Down
Loading

0 comments on commit 9f20c46

Please sign in to comment.