Skip to content

Commit

Permalink
fixed bad init of FDetectionInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
WouterJansen committed Jul 8, 2024
1 parent d8e9c9a commit 9f1daaa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Unreal/Plugins/AirSim/Source/DetectionComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ struct FDetectionInfo

UPROPERTY()
FTransform RelativeTransform;

FDetectionInfo()
: Actor(nullptr)
, Component(nullptr)
, DetectionName(TEXT(""))
, Box2D(FBox2D(EForceInit::ForceInit))
, Box3D(FBox())
, RelativeTransform(FTransform::Identity)
{
}
};

UCLASS(ClassGroup = (Custom), meta = (BlueprintSpawnableComponent))
Expand Down

0 comments on commit 9f1daaa

Please sign in to comment.