8#include "GameFramework/Actor.h"
10#include "OverlapSensorParameters.generated.h"
24 UPROPERTY(EditAnywhere, BlueprintReadWrite)
25 AActor* OwningActor =
nullptr;
27 UPROPERTY(EditAnywhere, BlueprintReadWrite)
30 UPROPERTY(EditAnywhere, BlueprintReadWrite)
31 FVector RelativePosition = FVector(0.0f, 0.0f, 0.0f);
33 UPROPERTY(EditAnywhere, BlueprintReadWrite)
36 UPROPERTY(EditAnywhere, BlueprintReadWrite)
37 FVector Size = FVector(1.0f, 1.0f, 1.0f);
39 UPROPERTY(EditAnywhere, BlueprintReadWrite)
40 bool CreateROSTopic = true;
42 FString ToHumanReadable(const FTransform& TransformToLog)
const
44 auto T = TransformToLog.GetTranslation();
45 auto R = TransformToLog.GetRotation();
46 auto S = TransformToLog.GetScale3D();
48 FString Output = FString::Printf(TEXT(
"Translation: %f %f %f\n"), T.X, T.Y, T.Z);
49 Output.Appendf(TEXT(
"Rotation: X %f Y %f Z %f\n"), R.X, R.Y, R.Z);
50 Output.Appendf(TEXT(
"Scale3D: %f %f %f"), S.X, S.Y, S.Z);