From b1876f4463d5053244f0d905111761adadd15abd Mon Sep 17 00:00:00 2001 From: yuliang <398780299@qq.com> Date: Wed, 18 Jun 2025 16:44:00 +0800 Subject: [PATCH] CLX --- src/modules/cl2/Cl23dObject.ts | 6 +++--- src/modules/clx/Clx3dObject.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/modules/cl2/Cl23dObject.ts b/src/modules/cl2/Cl23dObject.ts index 3911c50..91691f1 100644 --- a/src/modules/cl2/Cl23dObject.ts +++ b/src/modules/cl2/Cl23dObject.ts @@ -353,7 +353,7 @@ export default class Cl23dObject extends THREE.Object3D { const ptrPillar = this.getObjectByName('ptrPillar') const pz = ptrPillar.position.z return new Promise(resolve => { - const bh = 0.22 + 0.075 + const bh = 0.22 const children = ptrFork.children gsap.to(ptrFork.position, { @@ -370,10 +370,10 @@ export default class Cl23dObject extends THREE.Object3D { const child = children[i] child.position.y = bh - a.y } - } else if (a.y < 0.11 ) { + } else if (a.y < 0 ) { for (let i = 0; i < children.length; i++) { const child = children[i] - child.position.y = 0.11 - a.y + child.position.y = 0 - a.y } } } diff --git a/src/modules/clx/Clx3dObject.ts b/src/modules/clx/Clx3dObject.ts index deeaee2..222ef39 100644 --- a/src/modules/clx/Clx3dObject.ts +++ b/src/modules/clx/Clx3dObject.ts @@ -630,7 +630,7 @@ export default class Clx3dObject extends THREE.Object3D { }) return new Promise(resolve => { - const bh = 0.22 + 0.075 + const bh = 0.22 const children = clxFork.children gsap.to(clxFork.position, { @@ -648,10 +648,10 @@ export default class Clx3dObject extends THREE.Object3D { const child = children[i] child.position.y = bh - a.y } - } else if (a.y < 0.11 ) { + } else if (a.y < 0 ) { for (let i = 0; i < children.length; i++) { const child = children[i] - child.position.y = 0.11 - a.y + child.position.y = 0 - a.y } } }