LEAP Documentation 40220
Documentation for the LEAP project
BTTask_GetPointBetweenTwoPoints.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "BehaviorTree/BTTaskNode.h"
7#include "BTTask_GetPointBetweenTwoPoints.generated.h"
8
9UCLASS()
10class PROJECTX_API UBTTask_GetPointBetweenTwoPoints : public UBTTaskNode
11{
12 GENERATED_BODY()
13
15
17 UPROPERTY(Category = Node, EditAnywhere)
18 float InterpPercentage = 2000.0f;
20 UPROPERTY(Category = Blackboard, EditAnywhere)
21 struct FBlackboardKeySelector BlackboardKeyOriginQuery;
23 UPROPERTY(Category = Blackboard, EditAnywhere)
24 struct FBlackboardKeySelector BlackboardKeyEndingPointQuery;
26 UPROPERTY(Category = Blackboard, EditAnywhere)
27 struct FBlackboardKeySelector BlackboardKeyTargetDestination;
28
29 virtual EBTNodeResult::Type ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory);
30 virtual void InitializeFromAsset(UBehaviorTree& Asset) override;
31 virtual FString GetStaticDescription() const override;
32};
Definition: BTTask_GetPointBetweenTwoPoints.h:11