Get overlapped collision component in notifyactorbeginoverlap function

void notifyactoroverlap(AActor* otheractor)
{

//how can i get my collision component(overlapped collision
component)?

I want to compare mine with other for comfirming same channeling

I have three collider in one script, so must check this

}

And i want to get otheractor’s overlapped collision component too.

How can i get them.

Hey 1205-

The OnComponentBeginOverlap() function has “OtherActor” as one of the parameters which is the actor thatthat is overlapping with the actor that made the call originally. A cast will tell you if OtherActor is of the correct class and if so, you can then find the specific component necessary for your comparison.

Cheers

Thank u for your answer.

May i get some example code about the answer?

Alsoᆢhow can i get my overlapping collision component not otheractor?
For example if my one collision in my some collisions component(coll1…coll2…) overlap otheractor.
I want to get my overlapped one collision information