No Instance Of Function Template?

Never seen this error before, is it because I’ve used the wrong parameters?

The error line

TouchBox->OnComponentBeginOverlap.AddDynamic(this, &AcoinBrick::OnCollision);

I’ve tried to sort it out myself, but i don’t really know what i’m looking at :frowning:

The error:

what does your AcoinBrick::OnCollision definition look like?

The arguments of function you pointing does not fit to delegate od there not enoth of them, correct argument should be:

AActor * OtherActor
UPrimitiveComponent * OtherComp
int32 OtherBodyIndex
bool bFromSweep
FHitResult SweepResult

https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/Components/PrimitiveCompone-_1/index.html

Yeah i thought that was the problem, +1 for giving me the arguments too :slight_smile: