Forum Discussion
davidmcclure
13 years agoHonored Guest
Help! Trouble Parenting Hydra Objects To OVRPlayerController
I am trying to set up a scene where the player has 1:1 control over a pair of handheld objects using the Razer Hydra. Currently I can achieve the following: Set up a scene with the OVRPlayerContro...
Mrob76o
13 years agoHonored Guest
I have it working perfectly in my game. what control setup are you trying to achieve?
I have mine setup so that the left joystick turns and the right does forward backwards and strafe (until I get my omni). I have all the buttons mapped and have the hands from the demo attached to my player controller ( i will replace them with my own models once I have made them) I don't actually have my rift yet so i'm just working without it for now getting everything else working. I have to add the hyrax joystick controls into the OVRplayercontroller script and I Use uScript for unity and made my own button event nodes for this.
Everything you want to parent to the player controller needs to be parented to the ForwardDirection object. except if you are making a hud which will need to be parented to the Right camera
another tip if you are using the hands and want to attach objects to them. you will notice that the left hand is scaled negatively in the x axis which works but screws up the axis when rotating child objects attached to it. Just scale it the same on the other axis and rotate it back into position.
I have mine setup so that the left joystick turns and the right does forward backwards and strafe (until I get my omni). I have all the buttons mapped and have the hands from the demo attached to my player controller ( i will replace them with my own models once I have made them) I don't actually have my rift yet so i'm just working without it for now getting everything else working. I have to add the hyrax joystick controls into the OVRplayercontroller script and I Use uScript for unity and made my own button event nodes for this.
Everything you want to parent to the player controller needs to be parented to the ForwardDirection object. except if you are making a hud which will need to be parented to the Right camera
another tip if you are using the hands and want to attach objects to them. you will notice that the left hand is scaled negatively in the x axis which works but screws up the axis when rotating child objects attached to it. Just scale it the same on the other axis and rotate it back into position.
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 years ago
- 4 years ago