Explorar el Código

弓轨速度转射箭速度

lvjincheng hace 4 años
padre
commit
44e9810cbd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Assets/BowArrow/Scripts/Bluetooth/ShootCheck.cs

+ 1 - 1
Assets/BowArrow/Scripts/Bluetooth/ShootCheck.cs

@@ -293,7 +293,7 @@ public class ShootCheck : MonoBehaviour
             {
                 //加速度acc的单位是g,最后需要乘上
                 shootSpeed *= 9.80665f;
-                // shootSpeed *= 20;
+                shootSpeed *= 1.491f;
 
                 string strShootSpeed = "初速度: " + shootSpeed + " 帧数: " + keyAccList.Count + "\n";