|
|
|
|
| #pragma once
|
|
|
| #include "CoreMinimal.h"
|
|
|
| #include "LyraPenetrationAvoidanceFeeler.generated.h"
|
|
|
| |
| |
|
|
| USTRUCT()
|
| struct FLyraPenetrationAvoidanceFeeler
|
| {
|
| GENERATED_BODY()
|
|
|
|
|
| UPROPERTY(EditAnywhere, Category=PenetrationAvoidanceFeeler)
|
| FRotator AdjustmentRot;
|
|
|
|
|
| UPROPERTY(EditAnywhere, Category=PenetrationAvoidanceFeeler)
|
| float WorldWeight;
|
|
|
|
|
| UPROPERTY(EditAnywhere, Category=PenetrationAvoidanceFeeler)
|
| float PawnWeight;
|
|
|
|
|
| UPROPERTY(EditAnywhere, Category=PenetrationAvoidanceFeeler)
|
| float Extent;
|
|
|
|
|
| UPROPERTY(EditAnywhere, Category=PenetrationAvoidanceFeeler)
|
| int32 TraceInterval;
|
|
|
|
|
| UPROPERTY(transient)
|
| int32 FramesUntilNextTrace;
|
|
|
|
|
| FLyraPenetrationAvoidanceFeeler()
|
| : AdjustmentRot(ForceInit)
|
| , WorldWeight(0)
|
| , PawnWeight(0)
|
| , Extent(0)
|
| , TraceInterval(0)
|
| , FramesUntilNextTrace(0)
|
| {
|
| }
|
|
|
| FLyraPenetrationAvoidanceFeeler(const FRotator& InAdjustmentRot,
|
| const float& InWorldWeight,
|
| const float& InPawnWeight,
|
| const float& InExtent,
|
| const int32& InTraceInterval = 0,
|
| const int32& InFramesUntilNextTrace = 0)
|
| : AdjustmentRot(InAdjustmentRot)
|
| , WorldWeight(InWorldWeight)
|
| , PawnWeight(InPawnWeight)
|
| , Extent(InExtent)
|
| , TraceInterval(InTraceInterval)
|
| , FramesUntilNextTrace(InFramesUntilNextTrace)
|
| {
|
| }
|
| }; |