1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-21 23:54:23 +00:00

Remove speed limit from MoveTowardsMouse

This commit is contained in:
Steffo 2024-04-14 07:23:10 +02:00
parent 7568c5bcd7
commit 470aa1cf8e
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -7,10 +7,11 @@ signal detached
signal captured
@export_range(-500, 500, 1) var speed: float = 100.0
@export var speed: float = 100.0
@export var can_detach: bool = false
@onready var game := MainGame.get_ancestor(self)
@onready var capture_area: HoverDetector = $"CaptureArea"
enum State { DETACHED, CAPTURED }