What OtherComp will receive or represent ?
void OnCompHit(UPrimitiveComponent* HitComp, AActor* OtherActor, UPrimitiveComponent* OtherComp, FVector NormalImpulse, const FHitResult& Hit);
What OtherComp will receive or represent ?
void OnCompHit(UPrimitiveComponent* HitComp, AActor* OtherActor, UPrimitiveComponent* OtherComp, FVector NormalImpulse, const FHitResult& Hit);
Where OtherActor
will tell you the actor you hit, OtherComp
will tell you the component of that actor you hit.