mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-23 20:12:30 +08:00
8 lines
188 B
GDScript
8 lines
188 B
GDScript
|
|
extends BulletBase
|
||
|
|
|
||
|
|
@export var canTrace: bool = true
|
||
|
|
|
||
|
|
func ai():
|
||
|
|
if canTrace:
|
||
|
|
PresetBulletAI.lerpPosition(self, launcher.currentFocusedBoss.getTrackingAnchor() - Vector2(0, 200), 0.1)
|