Cannot Compile a project with pointer to character :(.
Code samples:
bool DoTrace(FHitResult* RV_Hit, FCollisionQueryParams* RV_TraceParams, AHermesCharacter* Character);
float PlayerInteractionDistance;
void Initialize(UAnimInstance* AnimInstance, AHermesCharacter* Character);
AHermesCharacter* Character;
void AWeapon::Initialize(UAnimInstance* AnimInstance, AHermesCharacter* Character)
{
this->AnimInstance = AnimInstance;
this->Character = Character;
}
#include "HermesCharacter.h"
#include "Hermes.h"
#include "Weapon.h"
#include "MyProjectProjectile.h"
#include "Viewfinder.h"
Errors: