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...
Krisper
13 years agoExplorer
Not sure how much I can help. I used the SixenseInput package from the Unity Store. It has a couple of demo scenes, one to show the animated hands in action, the other showing the input values on the screen. I studied them to see how they work.
I am using the hands in my project so from that package the scripts I used were:-
SixensePlugin.cs
SixenseInput.cs
SixenseObjectController.cs
SixenseHandController.cs
If you are not using the hands you won't need the last script as it is derived from SixenseObjectController.cs and only handles the hand animations.
I have the SixenseInput.cs script on an empty object in the scene, then drop a SixenseObjectController on the objects you want to control. This has 2 public settings to make, which Hand the object will be controlled by, and the Sensitivity.
Then start the game and click the start buttons on the controllers and the objects should move. Hope that helps.
I am using the hands in my project so from that package the scripts I used were:-
SixensePlugin.cs
SixenseInput.cs
SixenseObjectController.cs
SixenseHandController.cs
If you are not using the hands you won't need the last script as it is derived from SixenseObjectController.cs and only handles the hand animations.
I have the SixenseInput.cs script on an empty object in the scene, then drop a SixenseObjectController on the objects you want to control. This has 2 public settings to make, which Hand the object will be controlled by, and the Sensitivity.
Then start the game and click the start buttons on the controllers and the objects should move. Hope that helps.
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
- 4 years ago
- 2 years ago