Specifically, I’d like to pick up a gun or a knife. I already have the hand model and its animations, and I want to start experimenting with this type of behavior. How could I go about achieving this? For instance, I want the user to be able to use the controller to grab a virtual gun or knife with the hand model and perform actions. I’ve been looking at the drag controls script, but I’m not sure if it can be useful for what I want. Any advice on how to start or how can i approach this?
The WebXR component in VR spawns 2 controllers which you can reference and mount objects to them.
You can parent your object under them and that way you are able to make something appear in your hand.