godot_rl_Racer / Meshes.gd
jtatman's picture
Upload folder using huggingface_hub
3ec0257 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)