Destroying a Component doesn't trigger the OnComponentEndOverlap node
User Description:
OK, so I have an actor with only one component: BoxCollision, with default settings. I place it on map. In my character I have assigned events to OnActorBeginOverlap and OnActorEndOverlap. Then in game I walk into this box -> event OnActorBeginOverlap in my character is triggered. Then, standing in box:
if I walk out of box, of course event OnActorEndOverlap is triggered
if I destroy whole actor, event OnActorEndOverlap also is triggered
if I destroy BoxCollision component in this actor (the only one), event OnActorEndOverlap is not triggered, though actor is no more overlapping with character
1. Open the attached project
2. PIE
3. Walk forward into the box
4. Press the E-key to destroy the Actor (note that the ActorEndOverlap node is triggered)
5. Stop and PIE again
6. Walk forward into the box
7. Press the R-key to destroy the BoxComponent
Results: The OnComponentEndOverlap event will not be triggered when the BoxComponent is destroyed
Expected: For the OnComponentEndOverlap to trigger on Component destroy just like the ActorEndOverlap triggers on Actor destroy
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.8.3, 4.9, 4.10 |
Target Fix | 4.11 |
Created | Sep 1, 2015 |
---|---|
Resolved | Dec 15, 2015 |
Updated | Apr 27, 2018 |