Getting Frustrated - With Errors

Hi there, I am getting super frustrated with the errors I seem to be gettting. In this example it is telling met that the GetOwner() function is not defined? But the ProjectileBase Class Inherits from Actor, so why is it not picking it up?

Any help much appreciated. :slight_smile:

Gonna log this and step away from the keyboard lol for a bit

You forgot the class name (Name space) before the function name example AProjectileBase::

void AProjectileBase::OnHit(UPrimitiveComponent* HitComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, FVector NormalImpulse, const FHitResult& Hit)

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms