From 4a17fde692b900393d796675bcf7011aa7399dad Mon Sep 17 00:00:00 2001 From: Anson Bridges Date: Fri, 30 Sep 2022 11:20:16 -0400 Subject: syncing off main --- godot/scenes/vehicles/ship_parts/SquareSail.gd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'godot/scenes/vehicles/ship_parts') diff --git a/godot/scenes/vehicles/ship_parts/SquareSail.gd b/godot/scenes/vehicles/ship_parts/SquareSail.gd index b387232..72159d8 100644 --- a/godot/scenes/vehicles/ship_parts/SquareSail.gd +++ b/godot/scenes/vehicles/ship_parts/SquareSail.gd @@ -7,6 +7,8 @@ func _ready(): wind_bone = $Skeleton.find_bone("Bone") func set_sheet(amount: float): #0 to 1 + $Sheet.transform.origin.y = amount * sheet_out + print(amount) $Skeleton/IKL.start(true) $Skeleton/IKR.start(true) - $Sheet.transform.origin.y = amount * sheet_out + -- cgit v1.2.3