Boat/ocean/oceanTEST.gd
2025-03-24 18:02:15 +01:00

12 lines
356 B
GDScript

extends Node3D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
global_position.x = $"../Boat".global_position.x
global_position.z = $"../Boat".global_position.z