浏览代码

Steering improved

lisa 3 年之前
父节点
当前提交
f00305b014
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Assets/Scripts/Controller/SensorBikeController.cs
  2. 1 1
      Assets/XR/Settings/Open VR Settings.asset

+ 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