There is exist USectionComponent::OnBeginCursorOver event.
Can someone tell me how to recive this event though other static meshes?
Find solution:
-
Set
CurrentClickTraceChannel = ECollisionChannel::_Some_channel_that_you_didn't_use_;
in your PlayerController -
And then set into your Actor:
SetCollisionObjectType(ECollisionChannel::Some_channel_that_you_didn’t_use);
SetCollisionResponseToChannel(ECollisionChannel::Some_channel_that_you_didn’t_use, ECollisionResponse::ECR_Block);