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