police car weak point

This commit is contained in:
Michael Campbell 2026-02-18 16:46:00 -05:00
parent 324e7d437b
commit 8a173b968d
15 changed files with 203 additions and 9 deletions

View file

@ -15,8 +15,9 @@ func _physics_process(delta: float) -> void:
rotation.y = Vector2(velocity.x, -velocity.z).angle()
func hit(_proj: PlayerProjectile):
func hit(_proj: PlayerProjectile) -> bool:
queue_free()
return true
func _on_hurtbox_body_entered(body: Node3D) -> void: