lvjincheng 4 жил өмнө
parent
commit
f1ac0d5433

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

@@ -293,9 +293,12 @@ public class ShootCheck : MonoBehaviour
             {
                 //加速度acc的单位是g,最后需要乘上
                 shootSpeed *= 9.80665f;
+
+                string strShootSpeed = "弓轨速度: " + shootSpeed + " 帧数: " + keyAccList.Count + "\n";
+
                 shootSpeed *= 1.491f;
 
-                string strShootSpeed = "初速度: " + shootSpeed + " 帧数: " + keyAccList.Count + "\n";
+                strShootSpeed += "箭的速度: " + shootSpeed + "\n";
                 
                 string str1 = strShootSpeed + "/////////检测到射出的数据////////////:\n";
                 for (int i=0;i<keyAccList.Count;i++)