Hi Everyone!
I am diving into UE4 C++ and am getting some error that I am not sure exactly why I am getting.
Here is the code that I have for the Pickup.cpp
#include "TutorialCode.h"
#include "Pickup.h"
APickup::APickup(const class FPostConstructInitializeProperties& PCIP)
: Super(PCIP)
{
//The pickup is valid when created
bISActive = true
// Create the sphere componenet to handle the pickups collision
BaseCollisionComponent = PCIP.CreateDefaultSubobject<USphereComponent>(this, TEXT("BaseSphereComponent"));
//Set the SphereComponent as the root component
RootComponent = BaseCollisionComponent;
//Create the static mesh component
PickupMesh = PCIP.CreateDefaultSubobject<UStaticMeshComponent>(this, TEXT("PickupMesh"));
//Turn Physics On
PickupMesh->SetSimulatePhysics(true);
//Attach the static mesh to the root component
PickupMesh->AttachTo(RootComponent);
}
void APickup::OnPickedUp_Implementation()
{
//There is no Default Behavior
}
I have not touched the other files listed in the errors