Checking overlap at the start
I have two meshes that overlap each other at the start of the game. But the On Component Begin Overlap can not pick them up since it only checks moving objects. How do I check overlap at the start of the game without moving objects?
asked Apr 06 '17 at 09:25 AM in Blueprint Scripting
As I remember, on start overlap check can be problem, but if for you will be enough check collision sphere or cube, try something like this:
This is documented here https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/UseRaycasts/Blueprints/
My blueprint is only one of possibilities, but should work on start too.
This is simplest way and tested with sphere tracing:
You can test with print string what is "overlapped". With print string on Out Hit you will have colliding component/actor name
If your two meshes are setup correctly and they trigger some kind of OnComponentBeginOverlap, you can use this function in BP during BeginPlay to check for overlaps. I think this is simpler than the SphereTrace and should yield proper results depending on your overlap triggers etc.given your overlap settings etc. are set up correctly.
Follow this question
Once you sign in you will be able to subscribe for any updates here