Cast inherited class

Hello,

I ve created a parent class called “mainpawn” with a take damage function which retrieve static mesh, from which I retrieve world location to be able to spawn an explosion effect.

from mainpawn, I ve inherited to create asteroid_bp, ship_bp, …

From now, when I test on my bullet the overlap, I retrieve an actor. My wish is to be able to call my event Take damage from mainpawn, without cast to asteroid, ship, station, … but only to mainpawn.

It seems that the cast failed when I cast to parent class. It succeed when I cast to specific concerned class.

Isn’t it possible? how can I do this, maybe using different way?

An advice?