1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-08 04:37:13 +08:00

fix(BigLaser): 调整激光旋转的插值速度以改善追踪效果

将lerp_angle的插值系数从0.15调整为0.1,使激光旋转更平滑地追踪鼠标位置
This commit is contained in:
2025-08-28 11:17:53 +08:00
parent 9a3f9d7e98
commit d58afd6f80
+1 -1
View File
@@ -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