# How do I trigger onComponentBeginOverlap events with a First Person Character and also if a HMD Locomotion Pawn is possessing Player Controller? (Please Help!)

**URL:** <https://forums.unrealengine.com/t/how-do-i-trigger-oncomponentbeginoverlap-events-with-a-first-person-character-and-also-if-a-hmd-locomotion-pawn-is-possessing-player-controller-please-help/387657>\
**Category:** Character & Animation\
**Tags:** oncomponentbeginover, casting, UE4-15, branch, unreal-engine, Blueprint, question\
**Created:** [March 12, 2017, 1:34am UTC](https://forums.unrealengine.com/t/how-do-i-trigger-oncomponentbeginoverlap-events-with-a-first-person-character-and-also-if-a-hmd-locomotion-pawn-is-possessing-player-controller-please-help/387657 "2017-03-12T01:34:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mercuriusfm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mercuriusfm](https://forums.unrealengine.com/u/mercuriusfm)\
**Post date:** [March 12, 2017, 1:34am UTC](https://forums.unrealengine.com/t/how-do-i-trigger-oncomponentbeginoverlap-events-with-a-first-person-character-and-also-if-a-hmd-locomotion-pawn-is-possessing-player-controller-please-help/387657/1 "2017-03-12T01:34:42Z")

</div>

![129653-pickupwithhmdlocomotionpawn.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/0/b0b1bd8cc5f9100aa5dfcde8044f72314d03738a.jpeg)

The blueprint scripting in my Pickup Blueprint above works with the First person character overlapping the pickup, but when I possess the character with a HMD locomotion Pawn and overlap the pickup nothing happens. I have the same functions just with different variables in both the HMD locomotion Pawn as well as the First Person Character. If i switch the true and false branches on the cast to FirstPersonCharacter and Cast to HMDLocomotionPawn when I preview my game in VR I hear the sound effect cue explosion as soon as I start it and all of them are destroyed before I get to overlap them.

I also have a similar casting in the level blueprint shown below that triggers sound cues and that works with both the first person character and the HMD locomotion Pawn, so I think everything is ok with the collision settings.

 ![129654-pickupwithhmdlocomotionpawn2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/7/97c4b7a481dd7140c26e89d36ae52791a166b89d.jpeg)

Am I using the Branch function incorrectly? I tried making an enum switch instead of a branch with the same results.

Please help, I am having a lot of trouble trying to figure this out.

Thank you,

Melissa

---

<div class="post-metadata">

**Author:** ![mercuriusfm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mercuriusfm](https://forums.unrealengine.com/u/mercuriusfm)\
**Post date:** [March 13, 2017, 4:50am UTC](https://forums.unrealengine.com/t/how-do-i-trigger-oncomponentbeginoverlap-events-with-a-first-person-character-and-also-if-a-hmd-locomotion-pawn-is-possessing-player-controller-please-help/387657/2 "2017-03-13T04:50:24Z")

</div>

here is also a screenshot of the collision settings on the pickup cube, it is activating with the First Person character but not the HMD Locomotion Pawn

 ![129776-pickupcubecollisionsettings.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/3/c/3c5b72d5b867af0d455fc59df5175ddef6223261.jpeg)

---

<div class="post-metadata">

**Author:** ![Erytriel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Erytriel](https://forums.unrealengine.com/u/Erytriel)\
**Post date:** [March 13, 2017, 11:06am UTC](https://forums.unrealengine.com/t/how-do-i-trigger-oncomponentbeginoverlap-events-with-a-first-person-character-and-also-if-a-hmd-locomotion-pawn-is-possessing-player-controller-please-help/387657/3 "2017-03-13T11:06:17Z")

</div>

did u look up the collision setting of the locomotion pawn? sometimes there could be the solution for the problem

---

<div class="post-metadata">

**Author:** ![mercuriusfm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mercuriusfm](https://forums.unrealengine.com/u/mercuriusfm)\
**Post date:** [March 14, 2017, 3:01am UTC](https://forums.unrealengine.com/t/how-do-i-trigger-oncomponentbeginoverlap-events-with-a-first-person-character-and-also-if-a-hmd-locomotion-pawn-is-possessing-player-controller-please-help/387657/4 "2017-03-14T03:01:01Z")

</div>

The HMD locomotion Pawn is activating trigger boxes if you look at the second image I provided. So the HMD locomotion pawn does have the ability to activate triggers, I’m just not sure why it doesn’t work in the first picture I provided.

---

<div class="post-metadata">

**Author:** ![mercuriusfm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mercuriusfm](https://forums.unrealengine.com/u/mercuriusfm)\
**Post date:** [March 17, 2017, 11:24pm UTC](https://forums.unrealengine.com/t/how-do-i-trigger-oncomponentbeginoverlap-events-with-a-first-person-character-and-also-if-a-hmd-locomotion-pawn-is-possessing-player-controller-please-help/387657/5 "2017-03-17T23:24:53Z")

</div>

Does anyone else have any advice for me? I’m kinda at a stand still with my project and really need to get over this. Please, any suggestions would be greatly appreciated.
