#include "Trooper.h" // Sets default values ATrooper::ATrooper() { Position.Set(0, 0, 0); Mesh = CreateDefaultSubobject("Mesh"); RootComponent = Mesh; static ConstructorHelpers::FObjectFinder MeshToUse(TEXT( "StaticMesh'/Game/StarterContent/Props/SM_Chair.SM_Chair'" )); if (MeshToUse.Object) { Mesh->SetStaticMesh(MeshToUse.Object); } } // Called when the game starts or when spawned void ATrooper::BeginPlay() { Super::BeginPlay(); }