diff options
| author | Anson Bridges <bridges.anson@gmail.com> | 2022-09-30 11:20:16 -0400 |
|---|---|---|
| committer | Anson Bridges <bridges.anson@gmail.com> | 2022-09-30 11:20:16 -0400 |
| commit | 4a17fde692b900393d796675bcf7011aa7399dad (patch) | |
| tree | 5305dba808a7094192821736a379168cdb549843 /godot/scenes/vehicles/ship_parts/SquareSail.gd | |
| parent | 7a1d857de96174dfa5a0fa40f8c14acbd2f651c2 (diff) | |
syncing off main
Diffstat (limited to 'godot/scenes/vehicles/ship_parts/SquareSail.gd')
| -rw-r--r-- | godot/scenes/vehicles/ship_parts/SquareSail.gd | 4 |
1 files changed, 3 insertions, 1 deletions
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 + |
