From d58afd6f80c088f58994125ba829c0ac1b3b1029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=A8=E8=90=BD=E5=9F=BA=E5=9B=B4=E8=99=BE?= <3161880837@qq.com> Date: Thu, 28 Aug 2025 11:17:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(BigLaser):=20=E8=B0=83=E6=95=B4=E6=BF=80?= =?UTF-8?q?=E5=85=89=E6=97=8B=E8=BD=AC=E7=9A=84=E6=8F=92=E5=80=BC=E9=80=9F?= =?UTF-8?q?=E5=BA=A6=E4=BB=A5=E6=94=B9=E5=96=84=E8=BF=BD=E8=B8=AA=E6=95=88?= =?UTF-8?q?=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将lerp_angle的插值系数从0.15调整为0.1,使激光旋转更平滑地追踪鼠标位置 --- scripts/Contents/Bullets/BigLaser.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Contents/Bullets/BigLaser.gd b/scripts/Contents/Bullets/BigLaser.gd index 3793d1f..57d501c 100644 --- a/scripts/Contents/Bullets/BigLaser.gd +++ b/scripts/Contents/Bullets/BigLaser.gd @@ -4,7 +4,7 @@ class_name BigLaser func spawn(): CameraManager.shake(5000) func ai(): - rotation = lerp_angle(rotation, ((get_global_mouse_position() - position).angle()), 0.15) + rotation = lerp_angle(rotation, ((get_global_mouse_position() - position).angle()), 0.1) position = launcher.texture.global_position func applyDot(): hitbox.disabled = true