8#include "GameFramework/Actor.h"
10#include "OverlapSensorParameters.generated.h"
17 UPROPERTY(EditAnywhere, BlueprintReadWrite)
18 AActor* OwningActor =
nullptr;
20 UPROPERTY(EditAnywhere, BlueprintReadWrite)
23 UPROPERTY(EditAnywhere, BlueprintReadWrite)
24 FVector RelativePosition = FVector(0.0f, 0.0f, 0.0f);
26 UPROPERTY(EditAnywhere, BlueprintReadWrite)
27 FVector Size = FVector(1.0f, 1.0f, 1.0f);
29 UPROPERTY(EditAnywhere, BlueprintReadWrite)
30 bool CreateROSTopic = true;
32 FString ToHumanReadable(const FTransform& TransformToLog)
const
34 auto T = TransformToLog.GetTranslation();
35 auto R = TransformToLog.GetRotation();
36 auto S = TransformToLog.GetScale3D();
38 FString Output = FString::Printf(TEXT(
"Translation: %f %f %f\n"), T.X, T.Y, T.Z);
39 Output.Appendf(TEXT(
"Rotation: X %f Y %f Z %f\n"), R.X, R.Y, R.Z);
40 Output.Appendf(TEXT(
"Scale3D: %f %f %f"), S.X, S.Y, S.Z);