人生啊人生 3 tuần trước cách đây
mục cha
commit
7032aebfb2

+ 6 - 6
user_web/src/components/CarSimulation/CarThreeWorldEvent/event/CarDragAndDropEvent.js

@@ -921,7 +921,7 @@ export class CarDragAndDropEvent {
                                 );
 
                                 console.log(
-                                    "thisVector3distanceTo 拖拽距离 ---", thisVector3distanceTo, distance
+                                    "dragAndDropPointerupEvent thisVector3distanceTo 拖拽距离 ---", thisVector3distanceTo, distance
                                 );
 
                                 if (thisVector3distanceTo <= distance) {
@@ -1306,11 +1306,11 @@ export class CarDragAndDropEvent {
                             new this.BABYLON.Vector3(parseFloat(thisPositionList.x), parseFloat(thisPositionList.y), parseFloat(thisPositionList.z))
                         );
 
-                        // console.log(
-                        //     "thisVector3distanceTo",
-                        //     thisVector3distanceTo,
-                        //     distance
-                        // );
+                        console.log(
+                            " dragAndDropPointerupAnimationEvent thisVector3distanceTo === ",
+                            thisVector3distanceTo,
+                            distance
+                        );
 
                         if (thisVector3distanceTo <= distance) {
                             

+ 8 - 4
user_web/src/components/ChengGuangYuanJing/store/CommonValStore.js

@@ -38,7 +38,8 @@ export const CommonValStore = defineStore('CommonValStore', () => {
                     { "x": -41.6163125741749, "y": 0.30599984526634216, "z": -1.1276418341892134 }
                 ],
                 // 距离
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.3,
             },
 
             "model_1709892139359安全桩004" : {
@@ -51,7 +52,8 @@ export const CommonValStore = defineStore('CommonValStore', () => {
                     { "x": -41.6163125741749, "y": 0.30599984526634216, "z": -1.1276418341892134 }
                 ],
                 // 距离
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.3,
             },
 
             "model_1709892139359安全桩003" : {
@@ -64,7 +66,8 @@ export const CommonValStore = defineStore('CommonValStore', () => {
                     { "x": -41.6163125741749, "y": 0.30599984526634216, "z": -1.1276418341892134 }
                 ],
                 // 距离
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.3,
             },
 
             "model_1709892139359安全桩002" : {
@@ -77,7 +80,8 @@ export const CommonValStore = defineStore('CommonValStore', () => {
                     { "x": -41.6163125741749, "y": 0.30599984526634216, "z": -1.1276418341892134 }
                 ],
                 // 距离
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.3,
             },
 
             "exhibition_html_1710385814466__10”前轮右" : {

+ 8 - 8
user_web/src/components/student/event/DragAndDropEvent.ts

@@ -871,9 +871,9 @@ export class DragAndDropEvent {
                                     new this.BABYLON.Vector3(parseFloat(thisPositionList.x), parseFloat(thisPositionList.y), parseFloat(thisPositionList.z))
                                 );
 
-                                // console.log(
-                                //     "thisVector3distanceTo", thisVector3distanceTo
-                                // );
+                                console.log(
+                                    "dragAndDropPointerupEvent thisVector3distanceTo ---", thisVector3distanceTo, distance
+                                );
 
                                 if (thisVector3distanceTo <= distance) {
 
@@ -1251,11 +1251,11 @@ export class DragAndDropEvent {
                             new this.BABYLON.Vector3(parseFloat(thisPositionList.x), parseFloat(thisPositionList.y), parseFloat(thisPositionList.z))
                         );
 
-                        // console.log(
-                        //     "thisVector3distanceTo",
-                        //     thisVector3distanceTo,
-                        //     distance
-                        // );
+                        console.log(
+                            "dragAndDropPointerupAnimationEvent thisVector3distanceTo ---",
+                            thisVector3distanceTo,
+                            distance
+                        );
 
                         if (thisVector3distanceTo <= distance) {
                             

+ 28 - 14
user_web/src/stores/threeWorld.ts

@@ -29,7 +29,8 @@ export const threeWorld = defineStore('threeWorld', () => {
                     { "x": -41.6163125741749, "y": 0.30599984526634216, "z": -1.1276418341892134 }
                 ],
                 // 距离
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.3,
             },
 
             "model_1709892139359安全桩004" : {
@@ -42,7 +43,8 @@ export const threeWorld = defineStore('threeWorld', () => {
                     { "x": -41.6163125741749, "y": 0.30599984526634216, "z": -1.1276418341892134 }
                 ],
                 // 距离
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.3,
             },
 
             "model_1709892139359安全桩003" : {
@@ -55,7 +57,8 @@ export const threeWorld = defineStore('threeWorld', () => {
                     { "x": -41.6163125741749, "y": 0.30599984526634216, "z": -1.1276418341892134 }
                 ],
                 // 距离
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.3,
             },
 
             "model_1709892139359安全桩002" : {
@@ -68,7 +71,8 @@ export const threeWorld = defineStore('threeWorld', () => {
                     { "x": -41.6163125741749, "y": 0.30599984526634216, "z": -1.1276418341892134 }
                 ],
                 // 距离
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.3,
             },
 
             "exhibition_html_1710385814466__10”前轮右" : {
@@ -91,7 +95,8 @@ export const threeWorld = defineStore('threeWorld', () => {
                     { "x": -35.98077442553885, "y": 0.28303039587231626, "z": 1.671832325448381 }
 
                 ],
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.0,
             },
 
             "exhibition_html_1710385814466__10”后轮右" : {
@@ -109,7 +114,8 @@ export const threeWorld = defineStore('threeWorld', () => {
                     { "x": -35.940913163484765, "y": 0.2611965530740943, "z": 1.4418194596657141 },
                     { "x": -35.98077442553885, "y": 0.28303039587231626, "z": 1.671832325448381 }
                 ],
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.0,
             },
 
             "exhibition_html_1710385814466__10”前轮左" : {
@@ -127,7 +133,8 @@ export const threeWorld = defineStore('threeWorld', () => {
                     { "x": -35.940913163484765, "y": 0.2611965530740943, "z": 1.4418194596657141 },
                     { "x": -35.98077442553885, "y": 0.28303039587231626, "z": 1.671832325448381 }
                 ],
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.0,
             },
 
             "exhibition_html_1710385814466__10”后轮左" : {
@@ -144,7 +151,8 @@ export const threeWorld = defineStore('threeWorld', () => {
                     { "x": -35.940913163484765, "y": 0.2611965530740943, "z": 1.4418194596657141 },
                     { "x": -35.98077442553885, "y": 0.28303039587231626, "z": 1.671832325448381 }
                 ],
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.0,
             },
 
             "exhibition_html_1710385814466__6”前轮右" : {
@@ -155,7 +163,8 @@ export const threeWorld = defineStore('threeWorld', () => {
                     { "x": -35.940913163484765, "y": 0.2611965530740943, "z": 1.4418194596657141 },
                     { "x": -35.98077442553885, "y": 0.28303039587231626, "z": 1.671832325448381 }
                 ],
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.0,
             },
 
             "exhibition_html_1710385814466__6”中轮右" : {
@@ -166,7 +175,8 @@ export const threeWorld = defineStore('threeWorld', () => {
                     { "x": -35.940913163484765, "y": 0.2611965530740943, "z": 1.4418194596657141 },
                     { "x": -35.98077442553885, "y": 0.28303039587231626, "z": 1.671832325448381 }
                 ],
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.0,
             },
 
             "exhibition_html_1710385814466__6”后轮右" : {
@@ -177,7 +187,8 @@ export const threeWorld = defineStore('threeWorld', () => {
                     { "x": -35.940913163484765, "y": 0.2611965530740943, "z": 1.4418194596657141 },
                     { "x": -35.98077442553885, "y": 0.28303039587231626, "z": 1.671832325448381 }
                 ],
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.0,
             },
 
             "exhibition_html_1710385814466__6”前轮左" : {
@@ -188,7 +199,8 @@ export const threeWorld = defineStore('threeWorld', () => {
                     { "x": -35.940913163484765, "y": 0.2611965530740943, "z": 1.4418194596657141 },
                     { "x": -35.98077442553885, "y": 0.28303039587231626, "z": 1.671832325448381 }
                 ],
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.0,
             },
 
             "exhibition_html_1710385814466__6”中轮左" : {
@@ -199,7 +211,8 @@ export const threeWorld = defineStore('threeWorld', () => {
                     { "x": -35.940913163484765, "y": 0.2611965530740943, "z": 1.4418194596657141 },
                     { "x": -35.98077442553885, "y": 0.28303039587231626, "z": 1.671832325448381 }
                 ],
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.0,
             },
 
             "exhibition_html_1710385814466__6”后轮左" : {
@@ -210,7 +223,8 @@ export const threeWorld = defineStore('threeWorld', () => {
                     { "x": -35.940913163484765, "y": 0.2611965530740943, "z": 1.4418194596657141 },
                     { "x": -35.98077442553885, "y": 0.28303039587231626, "z": 1.671832325448381 }
                 ],
-                "distance" : 0.8,
+                // "distance" : 0.8,
+                "distance" : 1.0,
             },
 
             "exhibition_html_1710385814466__防撞杆" : {