Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
PlayerMotionWarpingComponent.h
이 파일의 문서화 페이지로 가기
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
6#include "PlayerMotionWarpingComponent.generated.h"
7
9class UTargetingComponent;
10
11
12UCLASS(ClassGroup=(Custom), meta=(BlueprintSpawnableComponent))
13class CK_UE_API UPlayerMotionWarpingComponent : public UCharacterMotionWarpingComponentBase
14{
15 GENERATED_BODY()
16
17public:
18 virtual void ResetLockOnTarget() override;
19
20protected:
21 virtual bool FindWarpTargetLocation(float MaxRange, FVector& OutTargetLocation) override;
22 virtual FVector GetWarpFallbackDirection() const override;
23
24private:
25
26 FVector GetCameraForward() const;
27 FVector GetInputDirectionOrZero() const;
28 FVector GetInputDirectionOrCameraForward() const;
29
30 UTargetingComponent* GetTargetingComponent() const;
31};
Definition TargetableInterface.h:20