Forum Discussion
MeSaurabhSaxena
7 months agoExplorer
Detect which hand(Left or Right) on component begin overlap[Solution]
Hello Devs,
I am using Meta Interaction SDK(https://developers.meta.com/horizon/documentation/unreal/unreal-isdk-overview/) with Meta XR plugin 76 and Meta XR Interaction 76 with Unreal Engine 5.5.4
Please have a look at the BP screenshot how I implemented the hand detection on component begin overlap on static mesh.
If you know any better solution, Please share.
I hope this will help other devs. I would like to thanks to Meta Developer support for the motivation.
Saurabh Saxena
Follow me on Youtube(https://www.youtube.com/@DelhiTechnologyClub ) and Instagram(https://www.instagram.com/mesaurabhsaxena/ )
4 Replies
Replies have been turned off for this discussion
- j_g_sampsonMeta Employee
If you're looking for a way that isn't string comparison, you could also try cast the overlapping component to an ISDKRigComponent, and call GetHandedness() from it, which will return an enum that you can compare of/select from.
- MeSaurabhSaxenaExplorer
Thank you for the response. Overlapped component is giving me the static mesh on which I have on component begin overlap. But I need Hands.
Saurabh Saxena
Follow me on Youtube(https://www.youtube.com/@DelhiTechnologyClub ) Instagram(https://www.instagram.com/mesaurabhsaxena/ )
- j_g_sampsonMeta Employee
Are you getting a static mesh or the hand skeletal mesh? In the case of the latter, you could cast it to a UIsdkHandMeshComponent and call GetHandednessFromDataSource()
- MeSaurabhSaxenaExplorer
In my case, I have a sphere in my level. When the user moves his hand into the sphere I need a trigger. That's why I am using on component begin overlap. And overlapped component is giving me static mesh.
Saurabh Saxena
Follow me on Youtube(https://www.youtube.com/@DelhiTechnologyClub ) Instagram(https://www.instagram.com/mesaurabhsaxena/ )
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 6 months ago