Bit of Terrain but also changed cameras

This commit is contained in:
marcgauch committed 2023-12-14 22:17:50 +01:00
1 parent b774e84175
commit 251749e617
523 files changed
+16906 -27

No files matched your search

@@ -76,7 +76,7 @@ Camera:
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_TargetEye: 0
m_HDR: 1
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
@@ -77,7 +77,7 @@ public class WallArt : MonoBehaviour
//Vector3 centerEyePosition = new Vector3();
// Update the position of the object based on the CenterEyeAnchor position with an added offset to the y-axis
outsideCameraInstance.transform.position = new Vector3(centerEyePosition.x, centerEyePosition.y + 100f, centerEyePosition.z);
outsideCameraInstance.transform.position = new Vector3(centerEyePosition.x, centerEyePosition.y + 0f, centerEyePosition.z);
// Remove rotation around the z-axis
Vector3 eulerRotation = ovrCameraRig.centerEyeAnchor.rotation.eulerAngles;