diff options
Diffstat (limited to '')
-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) |