diff --git a/Models/.gdignore b/Models/.gdignore new file mode 100644 index 0000000..e69de29 diff --git a/bunny.obj b/Models/bunny.obj similarity index 100% rename from bunny.obj rename to Models/bunny.obj diff --git a/Spatial.gd b/Spatial.gd index d0a7ca8..1d4ce18 100644 --- a/Spatial.gd +++ b/Spatial.gd @@ -146,7 +146,7 @@ func set_mesh_node_mesh(mesh): func _ready(): #var surfTool = SurfaceTool.new() #surfTool.create_from(meshNode.mesh, 0) - var surfTool = read_obj_mesh("res://bunny.obj") + var surfTool = read_obj_mesh("res://Models/bunny.obj") surfTool.generate_normals() set_mesh_node_mesh(surfTool.commit()) controlMesh = meshNode.mesh.duplicate() diff --git a/bunny.obj.import b/bunny.obj.import deleted file mode 100644 index cefd92c..0000000 --- a/bunny.obj.import +++ /dev/null @@ -1,18 +0,0 @@ -[remap] - -importer="wavefront_obj" -type="Mesh" -path="res://.import/bunny.obj-86c444f921566c4b4cee153dfc4d8fd3.mesh" - -[deps] - -files=[ "res://.import/bunny.obj-86c444f921566c4b4cee153dfc4d8fd3.mesh" ] - -source_file="res://bunny.obj" -dest_files=[ "res://.import/bunny.obj-86c444f921566c4b4cee153dfc4d8fd3.mesh", "res://.import/bunny.obj-86c444f921566c4b4cee153dfc4d8fd3.mesh" ] - -[params] - -generate_tangents=true -scale_mesh=Vector3( 5, 5, 5 ) -optimize_mesh=true