Skip to main content
New Participant
July 24, 2016

Change "Tracker sensor" device script (Unity 5.4.0f2)

Hey all,

I wan't to turn off the "reset position" in Unity when the Tracking sensor has moved 22.5 degrees.

We are a company who build a device for walking in scénes. At times we want to rotate the "Tracking sensor" around the player.
Every time we do that now, the "Tracking sensor" device reset the hmd. This gives a stutter and rotates the scene too.

How can we disable the function in Unity 5.4.0f2. (we used the native Oculus option in Unity
This topic has been closed for replies.

4 replies

Inspiring
July 26, 2016
Try making your Camera GameObject a child of another GameObject. Then you can watch for changes in the child's rotation and set the parent's transform to whatever you want.
NebouwAuthor
New Participant
July 26, 2016
I tried that, but the stutter is still active by every turn
Inspiring
July 26, 2016
Are you reading the cam rotation in Update or LateUpdate? I had to use LateUpdate to remove jitter from a headlocked GUI, and it may be the same problem.
NebouwAuthor
New Participant
July 26, 2016
How do you script that?