godot_rl_Racer / Waypoints.gd
edbeeching's picture
edbeeching HF staff
Upload . with huggingface_hub
b1e4a8e
raw
history blame contribute delete
176 Bytes
extends Node3D
func _ready():
var i = 0
for child in get_children():
child.set_id(i)
i += 1
GameManager.n_waypoints = get_child_count()
GameManager.waypoints = self