Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
Fixed Quest movement
Browse files Browse the repository at this point in the history
  • Loading branch information
demonixis committed Apr 25, 2020
1 parent f88ccd0 commit 7d701b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Assets/Scripts/TES/Components/Graphics/GraphicsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ private void Awake()
instanceProfile.DisableEffect<MotionBlur>();
instanceProfile.DisableEffect<Vignette>();

#if !UNITY_ANDROID
#if UNITY_ANDROID
// Apply Fixed Foveated Rendering on Qo/Quest
var tes3 = TES3Engine.Instance;
if (tes3 != null && XRManager.GetXRVendor() == XRVendor.Oculus)
Expand Down Expand Up @@ -142,7 +142,7 @@ private IEnumerator Start()
}
}

#if !UNITY_ANDROID
#if UNITY_ANDROID
private void Instance_CurrentCellChanged(ESM.Records.CELLRecord obj)
{
var level = obj.isInterior ? 1 : 3;
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/TES/Components/XR/PlayerXR.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private void Update()
if (m_RoomScale)
{
//_transform.position = new Vector3(centerEye.position.x, 0.0f, centerEye.position.z);
root.position = prevPos;
//root.position = prevPos;
}
}

Expand Down

0 comments on commit 7d701b5

Please sign in to comment.