人生啊人生 1 月之前
父節點
當前提交
5ad3f160ea

+ 10 - 10
src/components/ThreeWorldEventQingXiCheAndQv/event/store/QingXiCheAndQvProcessEventStore.js

@@ -31,11 +31,11 @@ export const QingXiCheAndQvProcessEventStore = defineStore('QingXiCheAndQvProces
                 "name" : "行至车辆区域",
                 "name" : "行至车辆区域",
             },
             },
 
 
-            // 因为需求,该流程放到这里
-            {
-                "note" : "在施工范围放置警示标识(请点击地面触发)",
-                "name" : "在施工范围放置警示标识",
-            },
+            // // 因为需求,该流程放到这里
+            // {
+            //     "note" : "在施工范围放置警示标识(请点击地面触发)",
+            //     "name" : "在施工范围放置警示标识",
+            // },
 
 
             {
             {
                 "note" : "打开车门进入驾驶室",
                 "note" : "打开车门进入驾驶室",
@@ -72,11 +72,11 @@ export const QingXiCheAndQvProcessEventStore = defineStore('QingXiCheAndQvProces
                 "name" : "下车确定安全灯显示是否正常",
                 "name" : "下车确定安全灯显示是否正常",
             },
             },
 
 
-            // // 因为需求,该流程放到其他地方
-            // {
-            //     "note" : "在施工范围放置警示标识(请点击地面触发)",
-            //     "name" : "在施工范围放置警示标识",
-            // },
+            // 因为需求,该流程放到其他地方
+            {
+                "note" : "在施工范围放置警示标识(请点击地面触发)",
+                "name" : "在施工范围放置警示标识",
+            },
 
 
             {
             {
                 "note" : "从水管固定座上拧下高压水管",
                 "note" : "从水管固定座上拧下高压水管",

+ 0 - 1
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvCarEvent.js

@@ -655,7 +655,6 @@ export class QingXiCheAndQvCarEvent {
         WindowEvent.find().WindowTxtViewOpenEvent(
         WindowEvent.find().WindowTxtViewOpenEvent(
             "上车前,先绕车一周,观察车辆前后有无障碍物,留意周边行人、车辆动态。" + "\n"
             "上车前,先绕车一周,观察车辆前后有无障碍物,留意周边行人、车辆动态。" + "\n"
             + "确认无异常后,拉开车门,侧身坐入驾驶室。"
             + "确认无异常后,拉开车门,侧身坐入驾驶室。"
-            
         );
         );
 
 
         WindowEvent.find().WindowVideoRemoveColorOpen(
         WindowEvent.find().WindowVideoRemoveColorOpen(

+ 9 - 4
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvThreeWorldEventMain.js

@@ -266,10 +266,16 @@ export class QingXiCheAndQvThreeWorldEventMain {
 
 
         var absolutePosition = ChengGuangYuanJing.Role.find().objRole._absolutePosition;
         var absolutePosition = ChengGuangYuanJing.Role.find().objRole._absolutePosition;
 
 
+        // var positionTarget = {
+        //     'x' : 7.16298,
+        //     'y' : 1.01,
+        //     'z' : -12.90319,
+        // }
+
         var positionTarget = {
         var positionTarget = {
-            'x' : 7.16298,
+            'x' : 8.27173,
             'y' : 1.01,
             'y' : 1.01,
-            'z' : -12.90319,
+            'z' : -17.70557,
         }
         }
 
 
         // 得到两点之间的距离
         // 得到两点之间的距离
@@ -280,8 +286,7 @@ export class QingXiCheAndQvThreeWorldEventMain {
 
 
         // console.log('roleAndPositionTargetBool ---', thisVector3distanceTo);
         // console.log('roleAndPositionTargetBool ---', thisVector3distanceTo);
         
         
-
-        if (thisVector3distanceTo <= 5) {
+        if (thisVector3distanceTo <= 9) {
             return true;
             return true;
         }
         }