Forum Discussion
markncolleen198
8 years agoProtege
Can anybody help me with OVRPLayerController prefab, ( hand anchor) Thanks
I am playing with the OVRPLayerController prefab,
i have attached the GearVrcontroller prefab to the right hand anchor,
and im trying to change the transform of the controller so it aims centrally..
when i change the transform it accepts it, i load up gear vr and then as
soon as i move the controller it reverts back to the default place What
can i do to get the controller to centre please? I am looking to change
the model of the controller to a gun ,
Thanks for taking time out to read this
i have attached the GearVrcontroller prefab to the right hand anchor,
and im trying to change the transform of the controller so it aims centrally..
when i change the transform it accepts it, i load up gear vr and then as
soon as i move the controller it reverts back to the default place What
can i do to get the controller to centre please? I am looking to change
the model of the controller to a gun ,
Thanks for taking time out to read this
6 Replies
Replies have been turned off for this discussion
- markncolleen198ProtegeAlways coincides with the pose of the right hand.
/// </summary>
public Transform rightHandAnchor { get; private set; }
Is there any way of changing this ? - markncolleen198ProtegetrackerAnchor.localPosition = tracker.position; Ok i found it any help on how to change the placement of the anchor ?
anchor.localPosition = Vector3.zero;
Ok also my question, does the GearVrcontroller have to be anchored to the ovrcamera? or can it be placed elsewhere ? Thanks - markncolleen198ProtegeBump, how do we break the anchor please?
- markncolleen198Protegebump :)
- markncolleen198ProtegeHi, thanks for your reply. I am using unity 2017.2 and utilites 1.20,
The part im trying to change is:
The OVRCameraRig script positions all of the anchor objects,
based on the name of each object
I need to change this so i am able to centre the hand anchor for the controller into the middle of the camera, as you know its currently centred to be placed as a (hand) placement. ( so i can aim down down the iron sight ) I need the anchor set at eye level on the camera please
I have tried to change the transform and overwrite it but no matter what it always defaults back, how can i change the position of the hand ?
This will help greatly
Best regards and thanks for the work you guys do here
Also your picture really makes me smile, good choice lol - markncolleen198ProtegeThank you very much Your a star
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
- 3 years ago
- 9 years agoAnonymous
- 10 months ago