Forum Discussion
paulovich
10 years agoExplorer
sdk 0.8 U4.x Dissable head tracking and get tracking values
Hi all.
I need to dissable the headtracking when the player makes zoom because it feels really dizzy. When zoomed what I whant to do is to get the head tracking rotation values and rotate the vehicle turret instead of the player camera rig.
How can I acces the tracker? I've surfed across the ovr library and found nothing that works.
Thanks!
I need to dissable the headtracking when the player makes zoom because it feels really dizzy. When zoomed what I whant to do is to get the head tracking rotation values and rotate the vehicle turret instead of the player camera rig.
How can I acces the tracker? I've surfed across the ovr library and found nothing that works.
Thanks!
3 Replies
Replies have been turned off for this discussion
- StankiemHonored GuestIs the turret the object they are "zooming" with? Sorry a bit hard to visualize. But maybe you can just reparent GameObjects to the OVRCameraRig or something to achieve what you want? Or (might work) every update, force the head position and rotation back to where it was when the zoom started and reparent the turret to the head position. Not exactly sure.
- vrdavebOculus StaffYou can use the OVRCameraRig.UpdatedAnchors to customize the effect of head tracking or cancel it out in the TrackingSpace GameObject. For example, in OVRPlayerController.cs, we use UpdatedAnchors to bake the yaw from head tracking into the player's body yaw and zero out the local yaw of the eye anchors. You can see an example of this in action in Room.unity, which also comes with the Oculus Utilities.
- paulovichExplorervrdaveb! that is exactly what I neede thank you!
Stankien>> the answer from vrdaveb exactly solves my need, but thanks!
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
- 1 year ago
- 3 years ago