Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
mercuriuscreati's avatar
mercuriuscreati
Honored Guest
8 years ago

Triggering with First Person Character and HMD Locomotion Pawn when possessing player controller

I am using Unreal Engine with an oculus. Does anyone have any advice on using Blueprints?

How do I trigger onComponentBeginOverlap events with a First Person Character and also if a HMD Locomotion Pawn is possessing Player Controller?

screenshot: https://answers.unrealengine.com/storage/temp/129653-pickupwithhmdlocomotionpawn.jpg

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

screenshot: https://answers.unrealengine.com/storage/temp/129654-pickupwithhmdlocomotionpawn2.jpg

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

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

https://answers.unrealengine.com/storage/temp/129776-pickupcubecollisionsettings.jpg

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


Replies have been turned off for this discussion