godot_rl_Racer / Meshes.gd
edbeeching's picture
edbeeching HF staff
Upload folder using huggingface_hub
e22408d verified
raw
history blame contribute delete
210 Bytes
extends Node3D
func set_mesh(mesh_name):
var node = get_node(mesh_name)
if node == null:
print("mesh not found")
return
for child in get_children():
child.set_visible(false)
node.set_visible(true)