Boat/ocean/oceanTEST.gd

13 lines
356 B
GDScript3
Raw Normal View History

2025-03-24 17:02:15 +00:00
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