extends SceneTree func _initialize() -> void: call_deferred("run") func run() -> void: for id in ["ak47","ppsh41","sks","makarov","tokarev"]: var model := (load("res://assets/soviet/%s.glb" % id) as PackedScene).instantiate() root.add_child(model) for mesh: MeshInstance3D in model.find_children("*","MeshInstance3D",true,false): print(id," ",mesh.name," transform=",mesh.global_transform," bounds=",mesh.mesh.get_aabb()," surfaces=",mesh.mesh.get_surface_count()) model.free() quit()