人生啊人生 1 tydzień temu
rodzic
commit
e19a0446b9

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

@@ -450,56 +450,56 @@ export const QingXiCheAndQvProcessEventStore = defineStore('QingXiCheAndQvProces
             //     },
             // },
 
-            {
-                "note" : "小卷筒使用方法-开启卷帘门",
-                "name" : "小卷筒使用方法_开启卷帘门",
-                "correctAnswerMesh" : {
-                    "exhibition_html_1754310027401_hua_" : "",
-                    "model_1754298683935卷帘门01-2" : "",
-                    "model_1754298683935卷帘门01-1" : "",
-                },
-            },
+            // {
+            //     "note" : "小卷筒使用方法-开启卷帘门",
+            //     "name" : "小卷筒使用方法_开启卷帘门",
+            //     "correctAnswerMesh" : {
+            //         "exhibition_html_1754310027401_hua_" : "",
+            //         "model_1754298683935卷帘门01-2" : "",
+            //         "model_1754298683935卷帘门01-1" : "",
+            //     },
+            // },
 
-            {
-                "note" : "小卷筒使用方法-开启车身侧门",
-                "name" : "小卷筒使用方法_开启车身侧门",
-                "correctAnswerMesh" : {
-                    "exhibition_html_1754310217237_hua_" : "",
-                    "model_1754298683935车厢侧门" : "",
-                },
-            },
+            // {
+            //     "note" : "小卷筒使用方法-开启车身侧门",
+            //     "name" : "小卷筒使用方法_开启车身侧门",
+            //     "correctAnswerMesh" : {
+            //         "exhibition_html_1754310217237_hua_" : "",
+            //         "model_1754298683935车厢侧门" : "",
+            //     },
+            // },
 
-            {
-                "note" : "小卷筒使用方法-拉出水管到需要的长度固定",
-                "name" : "小卷筒使用方法_拉出水管到需要的长度固定",
-                "correctAnswerMesh" : {
-                    "exhibition_html_1754310027401_hua_" : "",
-                    "model_1754298683935水枪管_primitive0" : "",
-                    "model_1754298683935水枪管_primitive1" : "",
-                    "model_1754298683935水枪管_primitive2" : "",
-                    "model_1754298683935车架_primitive7" : "",
-                },
-            },
+            // {
+            //     "note" : "小卷筒使用方法-拉出水管到需要的长度固定",
+            //     "name" : "小卷筒使用方法_拉出水管到需要的长度固定",
+            //     "correctAnswerMesh" : {
+            //         "exhibition_html_1754310027401_hua_" : "",
+            //         "model_1754298683935水枪管_primitive0" : "",
+            //         "model_1754298683935水枪管_primitive1" : "",
+            //         "model_1754298683935水枪管_primitive2" : "",
+            //         "model_1754298683935车架_primitive7" : "",
+            //     },
+            // },
 
-            {
-                "note" : "小卷筒使用方法-安装手持水枪",
-                "name" : "小卷筒使用方法_安装手持水枪",
-                "correctAnswerMesh" : {
-                    "exhibition_html_1754310217237_hua_" : "",
-                    "model_1754298683935水枪_primitive0" : "",
-                    "model_1754298683935水枪_primitive1" : "",
-                    "model_1754298683935水枪_primitive2" : "",
-                },
-            },
+            // {
+            //     "note" : "小卷筒使用方法-安装手持水枪",
+            //     "name" : "小卷筒使用方法_安装手持水枪",
+            //     "correctAnswerMesh" : {
+            //         "exhibition_html_1754310217237_hua_" : "",
+            //         "model_1754298683935水枪_primitive0" : "",
+            //         "model_1754298683935水枪_primitive1" : "",
+            //         "model_1754298683935水枪_primitive2" : "",
+            //     },
+            // },
 
-             {
-                "note" : "小卷筒使用方法-切换手动三通阀",
-                "name" : "小卷筒使用方法_切换手动三通阀",
-                "correctAnswerMesh" : {
-                    "exhibition_html_1754310146903_hua_" : "",
-                    "model_1754298683935车架_primitive2" : "",
-                },
-            },
+            //  {
+            //     "note" : "小卷筒使用方法-切换手动三通阀",
+            //     "name" : "小卷筒使用方法_切换手动三通阀",
+            //     "correctAnswerMesh" : {
+            //         "exhibition_html_1754310146903_hua_" : "",
+            //         "model_1754298683935车架_primitive2" : "",
+            //     },
+            // },
 
 
             // {

+ 1 - 1
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvCarEventClick.js

@@ -878,7 +878,7 @@ export class QingXiCheAndQvCarEventClick {
 
                     // 切换视角
                     objIframeEdit.modelPeopleLook(3);
-                    objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车按下取力器开关");
+                    objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车启动车辆");
                     objIframeEdit.roleShow(false);
 
                     let thisTime = new Date().getTime();

+ 12 - 0
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvThreeWorldEventMain.js

@@ -123,6 +123,10 @@ export class QingXiCheAndQvThreeWorldEventMain {
         // 解决后续切换相机是同名字的时候,视角变成直接跳转的问题
         ChengGuangYuanJing.CommonVal.find().cameraConfigUpdateOrRecord('record');
 
+        // ChengGuangYuanJing.EventMoveRole.find().coordinateMoveSphereFollow.position.x = this.cameraConfig.positionTarget.x;
+        // ChengGuangYuanJing.EventMoveRole.find().coordinateMoveSphereFollow.position.y = this.cameraConfig.positionTarget.y;
+        // ChengGuangYuanJing.EventMoveRole.find().coordinateMoveSphereFollow.position.z = this.cameraConfig.positionTarget.z;
+
         // // 将当前移动的视角,切换成角色所在视角
         // ChengGuangYuanJing.EventMoveRole.find().coordinateMoveSphereFollow.position
         // = new BABYLON.Vector3(
@@ -130,6 +134,14 @@ export class QingXiCheAndQvThreeWorldEventMain {
         //     ChengGuangYuanJing.Role.find().objRole.position.y,
         //     ChengGuangYuanJing.Role.find().objRole.position.z
         // );
+
+        // 将当前移动的视角,切换成角色所在视角
+        ChengGuangYuanJing.EventMoveRole.find().coordinateMoveSphereFollow.position
+        = new BABYLON.Vector3(
+            ChengGuangYuanJing.CommonVal.find().cameraConfig.positionTarget.x,
+            ChengGuangYuanJing.CommonVal.find().cameraConfig.positionTarget.y,
+            ChengGuangYuanJing.CommonVal.find().cameraConfig.positionTarget.z
+        );
         
         return this;