ExoWest/Source/Exo/Private/Characters/ExoCharacterBase.cpp

24 lines
469 B
C++
Raw Normal View History

// Fill out your copyright notice in the Description page of Project Settings.
#include "Characters/ExoCharacterBase.h"
AExoCharacterBase::AExoCharacterBase()
{
PrimaryActorTick.bCanEverTick = false;
Weapon = CreateDefaultSubobject<USkeletalMeshComponent>("Weapon");
Weapon->SetupAttachment(GetMesh(), FName("WeaponHandSocket"));
Weapon->SetCollisionEnabled(ECollisionEnabled::NoCollision);
}
void AExoCharacterBase::BeginPlay()
{
Super::BeginPlay();
}