Code, but which one? Because this procject is quite large…
Maybe it will be easier to just answer my initial question: am I right that ‘HitComponent’ value in collision handler is always set to Actor’s Root Component?
Plus I can send collision handler’s function header here:
void ComponentHaveBeenHit(UPrimitiveComponent* HitComponent, AActor* OtherActor, UPrimitiveComponent* OtherComponent, FVector NormalImpulse, const FHitResult& HitResult)
…so now it should be clear what the ‘HitComponent’ is.