Forum Discussion
sai22
1 year agoExplorer
How to make the hand model follow the controller and animate the hand model when you press a button
I'm currently developing a game using Meta XR Core SDK 63.
Game operations only use the controller,
It is assumed that hand tracking and Meta XR Interaction SDK will not be used
however I don't want to display the controller model in-game,
but instead I want to display a hand model so that the hand model animates when the controller is pressed.
At the time of Oculus Integration,
there is a prefab of CustomHandLeft/Right,
By placing CustomHand under HandAnchor,
I was able to display the hand model without displaying the controller model,
and when I pressed the controller button,
the hand model was able to animate.
If there is a way to deal with this with the Meta XR Core SDK, I would like to know.
Could not find CustomHandLeft/Right prefab in Meta XR Core SDK 63
Also, OVRCustomHandPrefab_L/R with similar names did not perform the animation
when pressing the controller button.
Also, OVRCustomHandPrefab_L/R with similar names did not perform the animation
when pressing the controller button.
6 Replies
- pranav_suresh7Protege
You can use meta building blocks to add hand interaction setup, it adds all the required component to the camera rig. If you have custom setup then look at the setup done by meta xr building blocks and try to replicate the same structure.
- sai22ExplorerThank you for your reply.I want to use a controller to operate the app I am creating, soI'm planning to use Controller Tracking from Building Blocks.However, in that case, after replacing the controller model with the hand model,I don't understand how to animate the hand model according to the button presses on the controller.I'll do some more research and read the documentation.Thank you for your advice.
- pranav_suresh7Protege
Are you planing to use virtual toony hand wrapper generated by meta ? you can setup the same with building blocks. For button press you can refer the poke interaction docs from meta.
- ohad.yahalomMeta Employee
have you tried the capsense hands API?
i believe this is what you're looking for
https://developer.oculus.com/documentation/unity/unity-capsense/
- sai22Explorer
Thank you for the information.
I will try to see if I can achieve what I want with this information.
Notes on what I would try based on the above information
Like when I was setting CustomHand for Oculus Integration...Show hand model instead of controller model
The appearance of the hand model when pressing the controller's grip button or trigger button also follows that. taking shape, animation
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
- 2 months ago
- 9 months ago
- 3 months ago
- 2 years ago