#include "PlasmaBoomerang.h" #include "Components/BoxComponent.h" #include "Components/SceneComponent.h" #include "Components/StaticMeshComponent.h" #include "DamageComponent.h" void APlasmaBoomerang::BeginOverlap(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult) { } APlasmaBoomerang::APlasmaBoomerang() { this->Root = CreateDefaultSubobject(TEXT("Root")); this->Collision = CreateDefaultSubobject(TEXT("Box")); this->DamageComponent = CreateDefaultSubobject(TEXT("Damage")); this->Mesh = CreateDefaultSubobject(TEXT("Mesh")); this->MeshPivot = CreateDefaultSubobject(TEXT("MeshPivot")); this->ArcCurve = NULL; this->StartSmoothTime = 1.00f; this->RotationSpeed = 1750.00f; this->ArcSpeed = 1.25f; this->HomingAcceleration = 1.25f; this->IsHoming = false; }