godot_rl_DownFall / scripts /spawn_points.gd
edbeeching's picture
edbeeching HF staff
Upload folder using huggingface_hub
c5a8672 verified
raw
history blame contribute delete
206 Bytes
extends Node3D
func get_spawn_point() -> Node3D:
var child_count = get_child_count()
if child_count > 0:
var random_index = randi() % child_count
return get_child(random_index)
else:
return null