人生啊人生 1 ماه پیش
والد
کامیت
44c1d2eb5e

+ 4 - 4
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAdnQvCarEventStep.js

@@ -452,25 +452,25 @@ export class QingXiCheAdnQvCarEventStep {
 
             case '人物换装_鞋子':
                 list = [
-                    { "name" : "鞋子", "speed" : 1, "from" : 82, "to" : 0 },
+                    { "name" : "鞋子", "speed" : 1, "from" : 0, "to" : 82 },
                 ];
                 break;
 
             case '人物换装_裤子':
                 list = [
-                    { "name" : "裤子", "speed" : 1, "from" : 82, "to" : 0 },
+                    { "name" : "裤子", "speed" : 1, "from" : 0, "to" : 82 },
                 ];
                 break;
 
             case '人物换装_上衣':
                 list = [
-                    { "name" : "上衣", "speed" : 1, "from" : 82, "to" : 0 },
+                    { "name" : "上衣", "speed" : 1, "from" : 0, "to" : 82 },
                 ];
                 break;
 
             case '人物换装_安全帽':
                 list = [
-                    { "name" : "安全帽", "speed" : 1, "from" : 82, "to" : 0 },
+                    { "name" : "安全帽", "speed" : 1, "from" : 0, "to" : 82 },
                 ];
                 break;
 

+ 27 - 17
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvCarEventClick.js

@@ -401,28 +401,38 @@ export class QingXiCheAndQvCarEventClick {
 
                     // 切换成正在处理中
                     QingXiCheAndQvCarEvent.find().eventEnd = 1;
-
-                    console.log("人物换装点击到物体了 --------- ");
                     
-                    // QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('清洗车_打开左门', function() {
+                    QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('人物换装_鞋子', function() {
+
+                        QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('人物换装_裤子', function() {
+
+                            QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('人物换装_上衣', function() {
+
+                                QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('人物换装_安全帽', function() {
                         
-                    //     // 切换视角
-                    //     objIframeEdit.modelPeopleLook(3);
-                    //     objIframeEdit.cameraVisualAngleGetListNameGpsTo("侧身进入驾驶室");
-                    //     objIframeEdit.roleShow(false);
+                                    // 切换视角
+                                    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);
+                                    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);
+                                        
+                                    });
+
+                                });
+
+                            });
                             
-                    //     });
+                        });
                         
-                    // });
+                    });
                     
                 }