This commit is contained in:
parent
d221962270
commit
cf12a96a75
|
@ -39,7 +39,7 @@ func _input(event):
|
|||
else:
|
||||
$NoChargesSound.play()
|
||||
|
||||
func _process(delta):
|
||||
func _process(_delta):
|
||||
transform.origin = target.global_position
|
||||
%camera_spot.look_at(target.global_position)
|
||||
if not camera_tweening:
|
||||
|
@ -72,6 +72,7 @@ func release():
|
|||
%ChargeReleaseSound.play()
|
||||
var billiard := target.get_billiard()
|
||||
billiard.hit((target.global_position - %camera_spot.global_position).normalized(), get_charge())
|
||||
TAS_System.StartIncrementingFrames()
|
||||
|
||||
%radial_ui.set_charge(0.0)
|
||||
%ChargeSound.stop()
|
||||
|
|
Loading…
Reference in New Issue