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