人生啊人生 hai 1 mes
pai
achega
f66fe8e2c5

+ 9 - 1
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAdnQvCarEventStep.js

@@ -734,7 +734,15 @@ export class QingXiCheAdnQvCarEventStep {
         }
         
         let json = {
-            
+            "人物换装" : {
+                "exhibition_html_1754357772363_hua_" : "",
+                "model_1754298683947巡检员_primitive0" : "",
+                "model_1754298683947巡检员_primitive1" : "",
+                "model_1754298683947上衣" : "",
+                "model_1754298683947安全帽" : "",
+                "model_1754298683947裤子" : "",
+                "model_1754298683947鞋子" : "",
+            },
             "打开车门进入驾驶室" : {
                 "exhibition_html_1754309396049_hua_" : "",
                 "model_1754298683935左门_primitive0" : "",

+ 37 - 0
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvCarEventClick.js

@@ -391,6 +391,42 @@ export class QingXiCheAndQvCarEventClick {
             case '仿真模拟':
                 
                 break;
+
+            // 人物换装
+            case '人物换装':
+
+                if (QingXiCheAdnQvCarEventStep.find().meshListBool(type, objMesh.id) == true) {
+
+                    QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
+
+                    // 切换成正在处理中
+                    QingXiCheAndQvCarEvent.find().eventEnd = 1;
+
+                    console.log("人物换装点击到物体了 --------- ");
+                    
+                    // QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('清洗车_打开左门', function() {
+                        
+                    //     // 切换视角
+                    //     objIframeEdit.modelPeopleLook(3);
+                    //     objIframeEdit.cameraVisualAngleGetListNameGpsTo("侧身进入驾驶室");
+                    //     objIframeEdit.roleShow(false);
+
+                    //     let thisTime = new Date().getTime();
+                    //     // 控制延迟逻辑
+                    //     ComVal.find().fpsEventAdd("type_click_" + thisTime, {}, 1500, function(fpsEventAddRet) {
+                    //         ComVal.find().fpsEventDel(fpsEventAddRet.code);
+                            
+                    //         QingXiCheAndQvCarEvent.find().eventEnd = 2;
+                    //         QingXiCheAndQvCarEvent.find().tipsBtnsUpOpenEventCallbackMain(false);
+                    //         QingXiCheAndQvCarEvent.find().tipsBtnsDownOpenEventCallbackMain(true);
+                            
+                    //     });
+                        
+                    // });
+                    
+                }
+
+                break;
                 
             // 打开车门进入驾驶室
             case '打开车门进入驾驶室':
@@ -425,6 +461,7 @@ export class QingXiCheAndQvCarEventClick {
                 }
 
                 break;
+                
 
             // 确认手刹已拉起档位是P档然后发动车辆
             case '确认手刹已拉起档位是P档然后发动车辆':

+ 39 - 0
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvThreeWorldCamera.js

@@ -4555,6 +4555,45 @@ export class QingXiCheAndQvThreeWorldCamera {
                 "clipMeshAnimationList": [],
                 "index": 126,
                 "sort": 126
+            },
+            {
+                "id": 1757038189751,
+                "name": "人物穿衣服换好",
+                "positionX": -30.55379053363044,
+                "positionY": 2.1680743385253285,
+                "positionZ": 59.92356861869197,
+                "alpha": -1.315046855478021,
+                "beta": 1.3771558343829469,
+                "radius": 5.871572684443482,
+                "positionTargetX": -32.0113650124894,
+                "positionTargetY": 1.0381922552978455,
+                "positionTargetZ": 65.49799315448787,
+                "type": "orbit",
+                "img": "1757042939048.png",
+                "stopTime": 1,
+                "toTime": 1.5,
+                "listHide": false,
+                "fpsExcessiveBool": false,
+                "lookMeshListBool": false,
+                "lookMeshList": "",
+                "lookMeshListHideBool": false,
+                "lookMeshListHide": "",
+                "loadingFirstOneLook": false,
+                "toRoleEyeOpen": false,
+                "activeCameraRadiusRegularOpen": false,
+                "activeCameraConfigOpen": false,
+                "activeCameraLowerBetaLimit": 0,
+                "activeCameraUpperBetaLimit": 3.14,
+                "gpsEventOpen": false,
+                "gpsEventSpeedMove": 0.15,
+                "gpsEventIndex": -1,
+                "gpsEventFor": true,
+                "gpsEventCameraVisualAngle": 1,
+                "gpsEventToGpsDownTime": 5,
+                "resetClipMeshAllOpen": false,
+                "clipMeshAnimationList": [],
+                "index": 127,
+                "sort": 127
             }
         ]