Browse Source

Steering improved

lisa 2 years ago
parent
commit
f00305b014

+ 1 - 1
Assets/Scripts/Controller/SensorBikeController.cs

@@ -61,7 +61,7 @@ namespace Controller
             switch (steeringSelection) {
                 case SteeringMode.frontWheel:
                     if (isFrontWheelTrackerNotNull) {
-                        bicycleController.CurrentSteerAngle = frontWheelTrackerConfig.AdjustedRotation;
+                        bicycleController.CurrentSteerAngle = frontWheelTrackerConfig.AdjustedRotation *2f;
                     }
                     break;
                 case SteeringMode.Leaning:

+ 1 - 1
Assets/XR/Settings/Open VR Settings.asset

@@ -18,6 +18,6 @@ MonoBehaviour:
   StereoRenderingMode: 1
   InitializationType: 1
   EditorAppKey: application.generated.unity.vrcycling.exe
-  ActionManifestFileRelativeFilePath: StreamingAssets/SteamVR/actions.json
+  ActionManifestFileRelativeFilePath: StreamingAssets\SteamVR\actions.json
   MirrorView: 2
   HasCopiedDefaults: 0