diff options
author | Malfurious <m@lfurio.us> | 2022-09-14 03:50:09 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2022-09-14 03:50:09 -0400 |
commit | 38b247487309ca89bf2d94bb321f12059861db9d (patch) | |
tree | 619a3acc15ca7051d5011b2ebaf18284ca1fad72 /Float.gd | |
parent | 0d930d5548e4f705cf80f9c2334b804ab1359538 (diff) | |
download | game_jam49-38b247487309ca89bf2d94bb321f12059861db9d.tar.gz game_jam49-38b247487309ca89bf2d94bb321f12059861db9d.zip |
Consolidate water-related assets
Stray files are moved into a new directory. The water MeshInstance is
made into a new scene, as I will be adding components to it.
Diffstat (limited to 'Float.gd')
-rw-r--r-- | Float.gd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5,7 +5,7 @@ var angular_drag = 0.5 func _physics_process(_delta): var parent = get_parent() - var water = get_node("/root/Main/Water") + var water = get_node("/root/Main/Water/MeshInstance") #self.global_transform.origin.y = water.height(self.global_transform.origin) var height = self.global_transform.origin.y var wave_height = water.height(self.global_transform.origin) |