diff --git a/.vscode/settings.json b/.vscode/settings.json index d84f0d8..701c32e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -51,5 +51,5 @@ "temp/": true, "Temp/": true }, - "dotnet.defaultSolution": "Terrain.sln" + "dotnet.defaultSolution": "VR_Terrain.sln" } \ No newline at end of file diff --git a/Assets/CameraScript.cs b/Assets/CameraScript.cs index f23395c..6220843 100644 --- a/Assets/CameraScript.cs +++ b/Assets/CameraScript.cs @@ -77,7 +77,7 @@ public class CameraScript : MonoBehaviour controls.Keyboard.resetCameraRotation.performed += ctx => ResetCameraRotation(); } - void Update() + void FixedUpdate() { // Move the object along the X and Z axes based on left stick input Vector3 moveDirection = new Vector3(moveInput.x, heightChange, moveInput.y);