大法
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yiqiu
2025-11-22 19:12:19 +08:00
parent 10354cb5f3
commit 3ae688e70f

View File

@@ -240,9 +240,12 @@
} }
geometry.attributes.position.needsUpdate = true; geometry.attributes.position.needsUpdate = true;
// 整体自转 // 粒子飞入过程中不旋转整球,避免“绕球旋转”的路径感,
particleSphere.rotation.y += ROTATION_SPEED * delta; // 仅在完全成型后才开始整体自转,形成更明显的“射线飞入 → 自转展示”的节奏
innerSphereMesh.rotation.y += ROTATION_SPEED * delta * 0.9; if (t >= 1.0) {
particleSphere.rotation.y += ROTATION_SPEED * delta;
innerSphereMesh.rotation.y += ROTATION_SPEED * delta * 0.9;
}
renderer.render(scene, camera); renderer.render(scene, camera);
} }