Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Nebouw's avatar
Nebouw
Explorer
10 years ago

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

4 Replies

Replies have been turned off for this discussion
  • 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.
  • I tried that, but the stutter is still active by every turn
  • Fulby's avatar
    Fulby
    Heroic Explorer
    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.