mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-31 00:11:54 +08:00
c3e5e81a61
- 在BroomGun中添加canTrace导出变量控制追踪功能 - 调整Broom子弹的碰撞体大小和位置 - 修改EnergyBlock中Broom子弹的速度倍率从2改为3 - 在BroomGun动画中添加canTrace状态控制
11 lines
215 B
GDScript
11 lines
215 B
GDScript
extends BulletBase
|
|
class_name BroomGun
|
|
|
|
@export var canTrace: bool = true
|
|
|
|
func shake():
|
|
CameraManager.shake(2000, 200)
|
|
func ai():
|
|
if canTrace:
|
|
PresetBulletAI.trace(self , launcher.currentFocusedPosition, 0.05)
|