commit bc75750128e395430cac8a019bee79f23b56e571 Author: Arthur Erlich Date: Mon Dec 22 15:14:38 2025 +0100 first init diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f28239b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,4 @@ +root = true + +[*] +charset = utf-8 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8ad74f7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Normalize EOL for all files that Git considers text files. +* text=auto eol=lf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0af181c --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# Godot 4+ specific ignores +.godot/ +/android/ diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..6d1afa0 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,18 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "GDScript: Launch Project", + "type": "godot", + "request": "launch", + "project": "${workspaceFolder}", + "debug_collisions": true, + "debug_paths": false, + "debug_navigation": false, + "additional_options": "" + } + ] +} \ No newline at end of file diff --git a/Assets/Thruster Cube Collision.glb b/Assets/Thruster Cube Collision.glb new file mode 100644 index 0000000..d4f4cda Binary files /dev/null and b/Assets/Thruster Cube Collision.glb differ diff --git a/Assets/Thruster Cube Collision.glb.import b/Assets/Thruster Cube Collision.glb.import new file mode 100644 index 0000000..d9f1fad --- /dev/null +++ b/Assets/Thruster Cube Collision.glb.import @@ -0,0 +1,37 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://crfjfbhjuderh" +path="res://.godot/imported/Thruster Cube Collision.glb-e95615f3a01fd673f0dafc758072d75c.scn" + +[deps] + +source_file="res://Assets/Thruster Cube Collision.glb" +dest_files=["res://.godot/imported/Thruster Cube Collision.glb-e95615f3a01fd673f0dafc758072d75c.scn"] + +[params] + +nodes/root_type="CollisionShape3D" +nodes/root_name="" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +_subresources={} +gltf/naming_version=1 +gltf/embedded_image_handling=0 diff --git a/Assets/Thruster Cube Collision.mtl b/Assets/Thruster Cube Collision.mtl new file mode 100644 index 0000000..c41fbc9 --- /dev/null +++ b/Assets/Thruster Cube Collision.mtl @@ -0,0 +1,12 @@ +# Blender 4.5.1 LTS MTL File: 'Thruster Cube Collision.blend' +# www.blender.org + +newmtl Standard.001 +Ns 250.000000 +Ka 1.000000 1.000000 1.000000 +Kd 0.244501 0.244501 0.244501 +Ks 0.500000 0.500000 0.500000 +Ke 0.000000 0.000000 0.000000 +Ni 1.500000 +d 1.000000 +illum 2 diff --git a/Assets/Thruster Cube Collision.obj b/Assets/Thruster Cube Collision.obj new file mode 100644 index 0000000..e133251 --- /dev/null +++ b/Assets/Thruster Cube Collision.obj @@ -0,0 +1,1097 @@ +# Blender 4.5.1 LTS +# www.blender.org +mtllib Thruster Cube Collision.mtl +o TheThrusterCube +v -5.057992 3.722029 7.414146 +v -5.057992 3.722029 7.414146 +v -5.057992 3.722029 7.414146 +v -5.057992 3.091639 8.025181 +v -5.057992 3.091639 8.025181 +v -5.057992 3.091639 8.025181 +v -5.057992 -3.091639 8.025181 +v -5.057992 -3.091639 8.025181 +v -5.057992 3.722028 -8.546822 +v -5.057992 3.722028 -8.546822 +v -5.057992 3.722028 -8.546822 +v -5.057992 3.091638 -9.157857 +v -5.057992 3.091638 -9.157857 +v -5.057992 3.091638 -9.157857 +v -5.057992 -3.091639 -9.157857 +v -5.057992 -3.091639 -9.157857 +v -5.057992 -3.091639 -9.157857 +v -5.057992 -3.722028 -8.546822 +v -5.057992 -3.722028 -8.546822 +v -5.057992 -3.722028 -8.546822 +v -5.057992 -3.722028 7.414146 +v -5.057992 -3.722028 7.414146 +v 3.722029 5.057992 7.414146 +v 3.722029 5.057992 7.414146 +v 3.091639 5.057992 8.025181 +v 3.091639 5.057992 8.025181 +v -3.091639 5.057992 8.025181 +v -3.091639 5.057992 8.025181 +v -3.091639 5.057992 8.025181 +v 3.722029 5.057992 -8.546822 +v 3.722029 5.057992 -8.546822 +v 3.722029 5.057992 -8.546822 +v 3.091639 5.057992 -9.157857 +v 3.091639 5.057992 -9.157857 +v 3.091639 5.057992 -9.157857 +v -3.091639 5.057992 -9.157857 +v -3.091639 5.057992 -9.157857 +v -3.091639 5.057992 -9.157857 +v -3.722028 5.057992 -8.546822 +v -3.722028 5.057992 -8.546822 +v -3.722028 5.057992 -8.546822 +v -3.722028 5.057992 7.414146 +v -3.722028 5.057992 7.414146 +v -3.722028 5.057992 7.414146 +v -3.722028 5.057992 7.414146 +v -3.722029 -5.057992 7.414146 +v -3.722029 -5.057992 7.414146 +v -3.722029 -5.057992 7.414146 +v -3.091639 -5.057992 8.025181 +v -3.091639 -5.057992 8.025181 +v -3.091639 -5.057992 8.025181 +v 3.091639 -5.057992 8.025181 +v 3.091639 -5.057992 8.025181 +v 3.091639 -5.057992 8.025181 +v -3.722029 -5.057992 -8.546822 +v -3.722029 -5.057992 -8.546822 +v -3.722029 -5.057992 -8.546822 +v -3.091639 -5.057992 -9.157857 +v -3.091639 -5.057992 -9.157857 +v -3.091639 -5.057992 -9.157857 +v 3.091639 -5.057992 -9.157857 +v 3.091639 -5.057992 -9.157857 +v 3.091639 -5.057992 -9.157857 +v 3.722028 -5.057992 -8.546822 +v 3.722028 -5.057992 -8.546822 +v 3.722028 -5.057992 -8.546822 +v 3.722028 -5.057992 7.414146 +v 3.722028 -5.057992 7.414146 +v 3.722028 -5.057992 7.414146 +v 5.057992 -3.722029 7.414146 +v 5.057992 -3.722029 7.414146 +v 5.057992 -3.722029 7.414146 +v 5.057992 -3.091639 8.025181 +v 5.057992 -3.091639 8.025181 +v 5.057992 -3.091639 8.025181 +v 5.057992 3.091639 8.025181 +v 5.057992 3.091639 8.025181 +v 5.057992 3.091639 8.025181 +v 5.057992 -3.722029 -8.546822 +v 5.057992 -3.722029 -8.546822 +v 5.057992 -3.722029 -8.546822 +v 5.057992 -3.091639 -9.157857 +v 5.057992 -3.091639 -9.157857 +v 5.057992 -3.091639 -9.157857 +v 5.057992 3.091638 -9.157857 +v 5.057992 3.091638 -9.157857 +v 5.057992 3.091638 -9.157857 +v 5.057992 3.722028 -8.546822 +v 5.057992 3.722028 -8.546822 +v 5.057992 3.722028 -8.546822 +v 5.057992 3.722028 7.414146 +v 5.057992 3.722028 7.414146 +v 5.057992 3.722028 7.414146 +v -4.987803 3.992769 9.413168 +v -4.987803 3.992769 9.413168 +v -4.987803 3.992769 9.413168 +v -4.987803 3.992769 9.413168 +v -4.991835 4.009695 9.409267 +v -4.991835 4.009695 9.409267 +v -4.991835 4.009695 9.409267 +v -4.995736 3.992769 9.405236 +v -4.995736 3.992769 9.405236 +v -4.995736 3.992769 9.405236 +v -4.995736 3.992769 9.405236 +v -4.995736 3.992769 9.405236 +v -3.992769 4.987804 9.413169 +v -3.992769 4.987804 9.413169 +v -3.992769 4.987804 9.413169 +v -3.992769 4.987804 9.413169 +v -3.992769 4.995736 9.405236 +v -3.992769 4.995736 9.405236 +v -3.992769 4.995736 9.405236 +v -3.992769 4.995736 9.405236 +v -3.992769 4.995736 9.405236 +v -4.009695 4.991836 9.409267 +v -4.009695 4.991836 9.409267 +v -4.009695 4.991836 9.409267 +v -4.987803 4.995737 8.410202 +v -4.987803 4.995737 8.410202 +v -4.987803 4.995737 8.410202 +v -4.987803 4.995737 8.410202 +v -4.995736 4.987804 8.410202 +v -4.995736 4.987804 8.410202 +v -4.995736 4.987804 8.410202 +v -4.995736 4.987804 8.410202 +v -4.995736 4.987804 8.410202 +v -4.991835 4.991836 8.427128 +v -4.991835 4.991836 8.427128 +v -4.991835 4.991836 8.427128 +v -4.991835 4.991836 8.427128 +v -4.987803 4.995736 -9.542877 +v -4.987803 4.995736 -9.542877 +v -4.987803 4.995736 -9.542877 +v -4.987803 4.995736 -9.542877 +v -4.987803 4.995736 -9.542877 +v -4.987803 4.995736 -9.542877 +v -4.987803 4.995736 -9.542877 +v -4.991835 4.991835 -9.559803 +v -4.991835 4.991835 -9.559803 +v -4.991835 4.991835 -9.559803 +v -4.995736 4.987803 -9.542877 +v -4.995736 4.987803 -9.542877 +v -4.995736 4.987803 -9.542877 +v -4.995736 4.987803 -9.542877 +v -4.995736 4.987803 -9.542877 +v -3.992769 4.995736 -10.537912 +v -3.992769 4.995736 -10.537912 +v -3.992769 4.995736 -10.537912 +v -3.992769 4.995736 -10.537912 +v -3.992769 4.995736 -10.537912 +v -3.992769 4.987803 -10.545844 +v -3.992769 4.987803 -10.545844 +v -3.992769 4.987803 -10.545844 +v -4.009695 4.991835 -10.541944 +v -4.009695 4.991835 -10.541944 +v -4.009695 4.991835 -10.541944 +v -4.009695 4.991835 -10.541944 +v -4.987803 3.992769 -10.545845 +v -4.987803 3.992769 -10.545845 +v -4.987803 3.992769 -10.545845 +v -4.987803 3.992769 -10.545845 +v -4.987803 3.992769 -10.545845 +v -4.987803 3.992769 -10.545845 +v -4.995736 3.992769 -10.537912 +v -4.995736 3.992769 -10.537912 +v -4.995736 3.992769 -10.537912 +v -4.995736 3.992769 -10.537912 +v -4.995736 3.992769 -10.537912 +v -4.991835 4.009695 -10.541944 +v -4.991835 4.009695 -10.541944 +v -4.991835 4.009695 -10.541944 +v -3.992769 -4.987803 9.413168 +v -3.992769 -4.987803 9.413168 +v -3.992769 -4.987803 9.413168 +v -4.009695 -4.991835 9.409267 +v -4.009695 -4.991835 9.409267 +v -4.009695 -4.991835 9.409267 +v -3.992769 -4.995736 9.405236 +v -3.992769 -4.995736 9.405236 +v -3.992769 -4.995736 9.405236 +v -3.992769 -4.995736 9.405236 +v -3.992769 -4.995736 9.405236 +v -4.987803 -3.992769 9.413169 +v -4.987803 -3.992769 9.413169 +v -4.987803 -3.992769 9.413169 +v -4.987803 -3.992769 9.413169 +v -4.995736 -3.992769 9.405236 +v -4.995736 -3.992769 9.405236 +v -4.995736 -3.992769 9.405236 +v -4.995736 -3.992769 9.405236 +v -4.991835 -4.009694 9.409267 +v -4.991835 -4.009694 9.409267 +v -4.991835 -4.009694 9.409267 +v -4.995736 -4.987803 8.410202 +v -4.995736 -4.987803 8.410202 +v -4.995736 -4.987803 8.410202 +v -4.987803 -4.995735 8.410202 +v -4.987803 -4.995735 8.410202 +v -4.987803 -4.995735 8.410202 +v -4.987803 -4.995735 8.410202 +v -4.987803 -4.995735 8.410202 +v -4.991835 -4.991835 8.427128 +v -4.991835 -4.991835 8.427128 +v -4.991835 -4.991835 8.427128 +v -4.991835 -4.991835 8.427128 +v -4.987803 -3.992769 -10.545844 +v -4.987803 -3.992769 -10.545844 +v -4.987803 -3.992769 -10.545844 +v -4.991835 -4.009695 -10.541944 +v -4.991835 -4.009695 -10.541944 +v -4.991835 -4.009695 -10.541944 +v -4.991835 -4.009695 -10.541944 +v -4.995736 -3.992769 -10.537912 +v -4.995736 -3.992769 -10.537912 +v -4.995736 -3.992769 -10.537912 +v -4.995736 -3.992769 -10.537912 +v -4.995736 -3.992769 -10.537912 +v -3.992769 -4.987803 -10.545845 +v -3.992769 -4.987803 -10.545845 +v -3.992769 -4.987803 -10.545845 +v -3.992769 -4.995736 -10.537912 +v -3.992769 -4.995736 -10.537912 +v -3.992769 -4.995736 -10.537912 +v -3.992769 -4.995736 -10.537912 +v -4.009695 -4.991835 -10.541944 +v -4.009695 -4.991835 -10.541944 +v -4.009695 -4.991835 -10.541944 +v -4.009695 -4.991835 -10.541944 +v -4.987803 -4.995736 -9.542877 +v -4.987803 -4.995736 -9.542877 +v -4.987803 -4.995736 -9.542877 +v -4.987803 -4.995736 -9.542877 +v -4.987803 -4.995736 -9.542877 +v -4.995736 -4.987803 -9.542877 +v -4.995736 -4.987803 -9.542877 +v -4.995736 -4.987803 -9.542877 +v -4.995736 -4.987803 -9.542877 +v -4.995736 -4.987803 -9.542877 +v -4.995736 -4.987803 -9.542877 +v -4.995736 -4.987803 -9.542877 +v -4.991835 -4.991835 -9.559803 +v -4.991835 -4.991835 -9.559803 +v -4.991835 -4.991835 -9.559803 +v 3.992769 4.987804 9.413168 +v 3.992769 4.987804 9.413168 +v 3.992769 4.987804 9.413168 +v 3.992769 4.987804 9.413168 +v 4.009695 4.991836 9.409267 +v 4.009695 4.991836 9.409267 +v 4.009695 4.991836 9.409267 +v 3.992769 4.995737 9.405236 +v 3.992769 4.995737 9.405236 +v 3.992769 4.995737 9.405236 +v 3.992769 4.995737 9.405236 +v 4.987803 3.992769 9.413169 +v 4.987803 3.992769 9.413169 +v 4.987803 3.992769 9.413169 +v 4.995736 3.992769 9.405236 +v 4.995736 3.992769 9.405236 +v 4.995736 3.992769 9.405236 +v 4.995736 3.992769 9.405236 +v 4.995736 3.992769 9.405236 +v 4.991835 4.009695 9.409267 +v 4.991835 4.009695 9.409267 +v 4.991835 4.009695 9.409267 +v 4.995736 4.987804 8.410202 +v 4.995736 4.987804 8.410202 +v 4.995736 4.987804 8.410202 +v 4.995736 4.987804 8.410202 +v 4.987803 4.995736 8.410202 +v 4.987803 4.995736 8.410202 +v 4.987803 4.995736 8.410202 +v 4.991835 4.991836 8.427128 +v 4.991835 4.991836 8.427128 +v 4.991835 4.991836 8.427128 +v 4.991835 4.991836 8.427128 +v 4.987803 3.992769 -10.545844 +v 4.987803 3.992769 -10.545844 +v 4.987803 3.992769 -10.545844 +v 4.987803 3.992769 -10.545844 +v 4.991835 4.009695 -10.541944 +v 4.991835 4.009695 -10.541944 +v 4.991835 4.009695 -10.541944 +v 4.995736 3.992769 -10.537912 +v 4.995736 3.992769 -10.537912 +v 4.995736 3.992769 -10.537912 +v 4.995736 3.992769 -10.537912 +v 4.995736 3.992769 -10.537912 +v 4.995736 3.992769 -10.537912 +v 4.995736 3.992769 -10.537912 +v 3.992769 4.987803 -10.545845 +v 3.992769 4.987803 -10.545845 +v 3.992769 4.987803 -10.545845 +v 3.992769 4.987803 -10.545845 +v 3.992769 4.987803 -10.545845 +v 3.992769 4.987803 -10.545845 +v 3.992769 4.995736 -10.537912 +v 3.992769 4.995736 -10.537912 +v 3.992769 4.995736 -10.537912 +v 3.992769 4.995736 -10.537912 +v 3.992769 4.995736 -10.537912 +v 4.009695 4.991835 -10.541944 +v 4.009695 4.991835 -10.541944 +v 4.009695 4.991835 -10.541944 +v 4.987803 4.995736 -9.542877 +v 4.987803 4.995736 -9.542877 +v 4.987803 4.995736 -9.542877 +v 4.987803 4.995736 -9.542877 +v 4.995736 4.987803 -9.542877 +v 4.995736 4.987803 -9.542877 +v 4.995736 4.987803 -9.542877 +v 4.995736 4.987803 -9.542877 +v 4.991835 4.991835 -9.559803 +v 4.991835 4.991835 -9.559803 +v 4.991835 4.991835 -9.559803 +v 4.991835 4.991835 -9.559803 +v 4.987803 -3.992769 9.413168 +v 4.987803 -3.992769 9.413168 +v 4.987803 -3.992769 9.413168 +v 4.991835 -4.009694 9.409267 +v 4.991835 -4.009694 9.409267 +v 4.991835 -4.009694 9.409267 +v 4.995736 -3.992769 9.405236 +v 4.995736 -3.992769 9.405236 +v 4.995736 -3.992769 9.405236 +v 4.995736 -3.992769 9.405236 +v 4.995736 -3.992769 9.405236 +v 3.992769 -4.987803 9.413169 +v 3.992769 -4.987803 9.413169 +v 3.992769 -4.987803 9.413169 +v 3.992769 -4.995735 9.405236 +v 3.992769 -4.995735 9.405236 +v 3.992769 -4.995735 9.405236 +v 3.992769 -4.995735 9.405236 +v 3.992769 -4.995735 9.405236 +v 4.009695 -4.991835 9.409267 +v 4.009695 -4.991835 9.409267 +v 4.009695 -4.991835 9.409267 +v 4.987803 -4.995736 8.410202 +v 4.987803 -4.995736 8.410202 +v 4.987803 -4.995736 8.410202 +v 4.987803 -4.995736 8.410202 +v 4.987803 -4.995736 8.410202 +v 4.987803 -4.995736 8.410202 +v 4.987803 -4.995736 8.410202 +v 4.987803 -4.995736 8.410202 +v 4.995736 -4.987803 8.410202 +v 4.995736 -4.987803 8.410202 +v 4.995736 -4.987803 8.410202 +v 4.995736 -4.987803 8.410202 +v 4.995736 -4.987803 8.410202 +v 4.991835 -4.991835 8.427128 +v 4.991835 -4.991835 8.427128 +v 4.991835 -4.991835 8.427128 +v 3.992769 -4.987803 -10.545844 +v 3.992769 -4.987803 -10.545844 +v 3.992769 -4.987803 -10.545844 +v 3.992769 -4.987803 -10.545844 +v 4.009695 -4.991835 -10.541944 +v 4.009695 -4.991835 -10.541944 +v 4.009695 -4.991835 -10.541944 +v 3.992769 -4.995736 -10.537912 +v 3.992769 -4.995736 -10.537912 +v 3.992769 -4.995736 -10.537912 +v 3.992769 -4.995736 -10.537912 +v 3.992769 -4.995736 -10.537912 +v 3.992769 -4.995736 -10.537912 +v 3.992769 -4.995736 -10.537912 +v 4.987803 -3.992769 -10.545845 +v 4.987803 -3.992769 -10.545845 +v 4.987803 -3.992769 -10.545845 +v 4.987803 -3.992769 -10.545845 +v 4.995736 -3.992769 -10.537912 +v 4.995736 -3.992769 -10.537912 +v 4.995736 -3.992769 -10.537912 +v 4.995736 -3.992769 -10.537912 +v 4.991835 -4.009695 -10.541944 +v 4.991835 -4.009695 -10.541944 +v 4.991835 -4.009695 -10.541944 +v 4.991835 -4.009695 -10.541944 +v 4.995736 -4.987803 -9.542877 +v 4.995736 -4.987803 -9.542877 +v 4.995736 -4.987803 -9.542877 +v 4.995736 -4.987803 -9.542877 +v 4.995736 -4.987803 -9.542877 +v 4.987803 -4.995736 -9.542877 +v 4.987803 -4.995736 -9.542877 +v 4.987803 -4.995736 -9.542877 +v 4.987803 -4.995736 -9.542877 +v 4.991835 -4.991835 -9.559803 +v 4.991835 -4.991835 -9.559803 +v 4.991835 -4.991835 -9.559803 +v 4.991835 -4.991835 -9.559803 +v 2.999999 -3.115459 -11.223415 +v 2.999999 -3.115459 -11.223415 +v 3.115458 -3.000000 -11.223415 +v 3.081640 -3.081642 -11.223415 +v 3.081640 -3.081642 -11.223415 +v -2.999999 -3.115459 -11.223415 +v -2.999999 -3.115459 -11.223415 +v -2.999999 -3.115459 -11.223415 +v -3.115458 -3.000000 -11.223415 +v -3.115458 -3.000000 -11.223415 +v -3.081641 -3.081642 -11.223415 +v -3.081641 -3.081642 -11.223415 +v 2.999999 3.115459 -11.223415 +v 2.999999 3.115459 -11.223415 +v 3.115458 3.000000 -11.223415 +v 3.115458 3.000000 -11.223415 +v 3.081640 3.081642 -11.223415 +v 3.081640 3.081642 -11.223415 +v -2.999999 3.115459 -11.223415 +v -2.999999 3.115459 -11.223415 +v -3.115458 3.000000 -11.223415 +v -3.115458 3.000000 -11.223415 +v -3.081641 3.081642 -11.223415 +v -3.081641 3.081642 -11.223415 +v -0.952200 -1.206812 11.853527 +v -1.206812 -0.952199 11.853527 +v -1.206812 -0.952199 11.853527 +v -1.206812 0.952200 11.853527 +v -1.206812 0.952200 11.853527 +v 0.952200 -1.206812 11.853527 +v 1.206812 -0.952199 11.853527 +v 1.206812 0.952200 11.853527 +v 0.952200 1.206813 11.853527 +v 0.952200 1.206813 11.853527 +v -0.952200 1.206813 11.853527 +v -0.952200 1.206813 11.853527 +v 3.722028 -5.057992 2.716586 +v 3.722028 -5.057992 2.716586 +v 3.722028 -5.057992 2.716586 +v 3.722028 -5.057992 2.716586 +v -3.722029 -5.057992 2.716586 +v -3.722029 -5.057992 2.716586 +v -3.722029 -5.057992 2.716586 +v -3.722029 -5.057992 2.716586 +v -3.992769 4.987803 -10.545844 +v -4.987803 3.992769 -10.545845 +v -4.987803 -3.992769 -10.545844 +v -3.992769 -4.987803 -10.545845 +v 4.987803 3.992769 -10.545844 +v 3.992769 4.987803 -10.545845 +v 4.991835 -4.009694 9.409267 +v 4.009695 -4.991835 9.409267 +v 3.992769 -4.987803 -10.545844 +v 4.987803 -3.992769 -10.545845 +v 2.999999 -3.115459 -11.223415 +v 2.999999 -3.115459 -11.223415 +v 3.115458 -3.000000 -11.223415 +v 3.115458 -3.000000 -11.223415 +v 3.081640 -3.081642 -11.223415 +v 3.081640 -3.081642 -11.223415 +v 3.081640 -3.081642 -11.223415 +v -2.999999 -3.115459 -11.223415 +v -2.999999 -3.115459 -11.223415 +v -3.115458 -3.000000 -11.223415 +v -3.115458 -3.000000 -11.223415 +v -3.081641 -3.081642 -11.223415 +v -3.081641 -3.081642 -11.223415 +v -3.081641 -3.081642 -11.223415 +v 2.999999 3.115459 -11.223415 +v 2.999999 3.115459 -11.223415 +v 3.115458 3.000000 -11.223415 +v 3.115458 3.000000 -11.223415 +v 3.081640 3.081642 -11.223415 +v 3.081640 3.081642 -11.223415 +v 3.081640 3.081642 -11.223415 +v -2.999999 3.115459 -11.223415 +v -2.999999 3.115459 -11.223415 +v -3.115458 3.000000 -11.223415 +v -3.115458 3.000000 -11.223415 +v -3.081641 3.081642 -11.223415 +v -3.081641 3.081642 -11.223415 +v -3.081641 3.081642 -11.223415 +v -0.952200 -1.206812 11.853527 +v -1.206812 -0.952199 11.853527 +v -1.206812 0.952200 11.853527 +v 0.952200 -1.206812 11.853527 +v 0.952200 -1.206812 11.853527 +v 1.206812 -0.952199 11.853527 +v 1.206812 -0.952199 11.853527 +v 1.206812 0.952200 11.853527 +v 0.952200 1.206813 11.853527 +v -0.952200 1.206813 11.853527 +v -3.992769 -4.987803 9.413168 +v 4.987803 3.992769 9.413169 +v 4.987803 -3.992769 9.413168 +v 3.992769 -4.987803 9.413169 +v -0.952200 -1.206812 11.853527 +v 0.952200 -1.206812 11.853527 +v 1.206812 -0.952199 11.853527 +v 1.206812 0.952200 11.853527 +v 4.009695 4.991836 9.409267 +v 4.009695 4.991836 9.409267 +v 4.991835 4.009695 9.409267 +v 4.991835 4.009695 9.409267 +v 4.991835 4.991836 8.427128 +v 4.991835 4.009695 -10.541944 +v 4.991835 4.009695 -10.541944 +v 4.009695 4.991835 -10.541944 +v 4.009695 4.991835 -10.541944 +v 4.991835 4.991835 -9.559803 +v 4.991835 -4.009694 9.409267 +v 4.009695 -4.991835 9.409267 +v 4.991835 -4.991835 8.427128 +v 4.009695 -4.991835 -10.541944 +v 4.009695 -4.991835 -10.541944 +v 4.991835 -4.009695 -10.541944 +v 4.991835 -4.009695 -10.541944 +v 4.991835 -4.991835 -9.559803 +v 3.081640 -3.081642 -11.223415 +v 3.081640 3.081642 -11.223415 +v 1.206812 0.952200 11.853527 +v 0.952200 1.206813 11.853527 +v -4.991835 4.009695 9.409267 +v -4.991835 4.009695 9.409267 +v -4.009695 4.991836 9.409267 +v -4.009695 4.991836 9.409267 +v -4.991835 4.991836 8.427128 +v -4.991835 4.991835 -9.559803 +v -4.009695 4.991835 -10.541944 +v -4.009695 4.991835 -10.541944 +v -4.991835 4.009695 -10.541944 +v -4.991835 4.009695 -10.541944 +v -4.009695 -4.991835 9.409267 +v -4.009695 -4.991835 9.409267 +v -4.991835 -4.009694 9.409267 +v -4.991835 -4.009694 9.409267 +v -4.991835 -4.991835 8.427128 +v -4.991835 -4.009695 -10.541944 +v -4.991835 -4.009695 -10.541944 +v -4.009695 -4.991835 -10.541944 +v -4.009695 -4.991835 -10.541944 +v -4.991835 -4.991835 -9.559803 +v -3.081641 -3.081642 -11.223415 +v -3.081641 3.081642 -11.223415 +v -0.952200 -1.206812 11.853527 +v -1.206812 -0.952199 11.853527 +v -1.206812 0.952200 11.853527 +v -0.952200 1.206813 11.853527 +v -5.057992 -3.091639 8.025181 +v -5.057992 -3.722028 7.414146 +v 3.722029 5.057992 7.414146 +v 3.091639 5.057992 8.025181 +v -4.995736 -3.992769 9.405236 +v -4.995736 -4.987803 8.410202 +v 3.992769 4.995737 9.405236 +v 4.987803 4.995736 8.410202 +vn -0.7071 -0.0054 0.7071 +vn 0.0054 0.7072 0.7070 +vn -0.7071 0.7071 0.0055 +vn -0.7071 -0.0055 -0.7071 +vn 0.0054 -0.7072 0.7070 +vn -0.7071 0.0055 0.7071 +vn -0.7071 -0.7071 0.0055 +vn -0.0054 0.7072 0.7070 +vn 0.7071 -0.0055 0.7071 +vn 0.7071 -0.0056 -0.7071 +vn -0.0054 0.7070 -0.7072 +vn 0.7070 0.0054 0.7071 +vn -0.0055 -0.7072 0.7070 +vn 0.7071 -0.7071 -0.0055 +vn -0.0055 -0.7070 -0.7072 +vn -0.1800 0.9671 0.1800 +vn -0.1799 0.9671 0.1800 +vn -0.9670 0.1800 0.1800 +vn -0.9671 0.1800 0.1799 +vn -0.1800 0.9670 -0.1800 +vn -0.1800 0.9671 -0.1800 +vn -0.9671 0.1800 -0.1800 +vn -0.9671 -0.1800 0.1800 +vn -0.1800 -0.9671 0.1800 +vn -0.1800 -0.9671 -0.1800 +vn -0.9670 -0.1800 -0.1801 +vn -0.9671 -0.1800 -0.1799 +vn 0.9671 0.1800 0.1800 +vn 0.1800 0.9671 0.1800 +vn 0.1800 0.9671 -0.1800 +vn 0.9670 0.1800 -0.1801 +vn 0.9671 0.1800 -0.1799 +vn 0.1800 -0.9671 0.1800 +vn 0.1799 -0.9671 0.1800 +vn 0.9670 -0.1800 0.1801 +vn 0.9671 -0.1800 0.1799 +vn 0.9671 -0.1800 -0.1800 +vn 0.1800 -0.9670 -0.1800 +vn 0.1800 -0.9671 -0.1800 +vn -0.0000 -1.0000 -0.0000 +vn -0.0000 -0.7072 0.7070 +vn -0.0000 -0.7070 0.7072 +vn -0.0000 1.0000 -0.0000 +vn -0.9993 -0.0268 -0.0276 +vn -0.9992 -0.0275 -0.0275 +vn 0.9988 -0.0491 -0.0000 +vn 0.0271 -0.9992 0.0280 +vn 0.0273 -0.9993 0.0273 +vn -0.9988 0.0491 -0.0000 +vn -0.0000 -0.9990 0.0451 +vn 0.7187 0.6953 -0.0000 +vn 0.6953 0.7187 -0.0000 +vn -0.0268 -0.9993 -0.0276 +vn -0.0275 -0.9992 -0.0275 +vn 0.9990 -0.0000 -0.0451 +vn -0.7071 0.7071 -0.0000 +vn -0.7187 0.6953 -0.0000 +vn -0.6953 0.7187 -0.0000 +vn -0.9993 0.0268 0.0276 +vn -0.9992 0.0275 0.0275 +vn 0.0822 0.4930 0.8661 +vn 0.1567 0.2635 -0.9519 +vn -0.0000 0.6955 -0.7185 +vn -0.0000 0.7184 -0.6957 +vn -0.0000 0.7072 -0.7070 +vn -0.0822 0.4929 0.8662 +vn -0.1566 0.2635 -0.9519 +vn 0.4929 0.0823 0.8662 +vn -0.0268 0.9993 0.0276 +vn -0.0275 0.9992 0.0275 +vn -0.0491 0.9988 -0.0000 +vn -0.0000 0.7072 0.7071 +vn -0.0000 0.7070 0.7072 +vn -0.9990 -0.0000 -0.0451 +vn -0.0000 -0.3403 -0.9403 +vn -0.0000 -0.7070 -0.7072 +vn 0.2635 0.1567 -0.9518 +vn 0.7187 -0.0000 -0.6953 +vn 0.6954 -0.0000 -0.7186 +vn 0.7071 -0.0000 -0.7072 +vn -0.0000 -0.0000 -1.0000 +vn -0.9990 -0.0000 0.0451 +vn 0.9993 0.0273 -0.0273 +vn 0.9992 0.0271 -0.0280 +vn -0.9988 -0.0491 -0.0000 +vn 0.7071 -0.0000 0.7071 +vn 0.7071 -0.0000 0.7072 +vn -0.0000 0.9990 0.0451 +vn -0.4930 0.0821 0.8662 +vn 0.0268 0.9993 -0.0276 +vn 0.0275 0.9992 -0.0275 +vn -0.2635 0.1567 -0.9519 +vn -0.6952 -0.0000 -0.7188 +vn -0.7186 -0.0000 -0.6954 +vn -0.7071 -0.0000 -0.7071 +vn -0.0000 0.5423 0.8402 +vn 1.0000 -0.0000 -0.0000 +vn -0.0000 -0.9990 -0.0451 +vn -0.0000 0.3403 -0.9403 +vn -1.0000 -0.0000 -0.0000 +vn 0.9992 0.0271 0.0280 +vn 0.9993 0.0273 0.0273 +vn 0.9988 0.0491 -0.0000 +vn 0.3403 -0.0000 -0.9403 +vn 0.9992 -0.0275 -0.0275 +vn 0.9993 -0.0268 -0.0276 +vn 0.4929 -0.0821 0.8662 +vn 0.6953 -0.7187 -0.0000 +vn 0.7186 -0.6954 -0.0000 +vn 0.7071 -0.7071 -0.0000 +vn 0.2635 -0.1567 -0.9518 +vn -0.4929 -0.0823 0.8662 +vn 0.0491 0.9988 -0.0000 +vn -0.7071 -0.7071 -0.0000 +vn -0.6953 -0.7187 -0.0000 +vn -0.7186 -0.6954 -0.0000 +vn 0.0273 -0.9993 -0.0273 +vn 0.0271 -0.9992 -0.0280 +vn -0.2635 -0.1567 -0.9518 +vn -0.5423 -0.0000 0.8402 +vn 0.0822 -0.4929 0.8662 +vn -0.9993 0.0268 -0.0276 +vn -0.9992 0.0275 -0.0275 +vn 0.0491 -0.9988 -0.0000 +vn -0.7071 -0.0000 0.7071 +vn -0.0000 0.9990 -0.0451 +vn 0.1566 -0.2635 -0.9519 +vn -0.0822 -0.4930 0.8661 +vn -0.0491 -0.9988 -0.0000 +vn -0.0275 0.9992 -0.0275 +vn -0.0268 0.9993 -0.0276 +vn -0.1567 -0.2635 -0.9519 +vn -0.0268 -0.9993 0.0276 +vn -0.0275 -0.9992 0.0275 +vn -0.0000 -0.7188 -0.6952 +vn -0.0000 -0.6955 -0.7186 +vn -0.3403 -0.0000 -0.9403 +vn 0.9993 -0.0268 0.0276 +vn 0.9992 -0.0275 0.0275 +vn 0.9990 -0.0000 0.0451 +vn 0.3188 -0.3188 0.8926 +vn -0.0000 -0.0000 1.0000 +vn 0.1170 0.2825 -0.9521 +vn 0.2825 0.1170 -0.9521 +vn -0.1170 0.2825 -0.9521 +vn -0.2825 0.1170 -0.9521 +vn 0.2825 -0.1170 -0.9521 +vn -0.2825 -0.1170 -0.9521 +vn 0.1170 -0.2825 -0.9521 +vn -0.1170 -0.2825 -0.9521 +vn -0.0000 -0.5423 0.8402 +vn 0.5423 -0.0000 0.8402 +vn 0.5774 0.5774 0.5774 +vn 0.5774 0.5774 -0.5774 +vn 0.5774 -0.5774 0.5774 +vn 0.5774 -0.5774 -0.5774 +vn 0.3188 0.3188 0.8926 +vn 0.2274 0.2274 -0.9469 +vn 0.2274 -0.2274 -0.9469 +vn -0.5774 0.5774 0.5774 +vn -0.5774 0.5774 -0.5774 +vn -0.5774 -0.5774 0.5774 +vn -0.5774 -0.5774 -0.5774 +vn -0.3188 -0.3188 0.8926 +vn -0.2274 0.2274 -0.9469 +vn -0.3188 0.3188 0.8926 +vn -0.2274 -0.2274 -0.9469 +vn 0.0275 0.9992 0.0275 +vn 0.0268 0.9993 0.0276 +vn -0.9992 -0.0275 0.0275 +vn -0.9993 -0.0268 0.0276 +vt 0.127505 0.718672 +vt 0.129619 0.721159 +vt 0.128627 0.720051 +vt 0.150213 0.749652 +vt 0.151465 0.751273 +vt 0.152007 0.751773 +vt 0.599820 0.990904 +vt 0.602270 0.988831 +vt 0.599748 0.990991 +vt 0.624923 0.025311 +vt 0.624695 0.025181 +vt 0.624694 0.024860 +vt 0.152170 0.498317 +vt 0.153953 0.496213 +vt 0.153450 0.496741 +vt 0.125327 0.525156 +vt 0.126420 0.523770 +vt 0.127452 0.522714 +vt 0.599820 0.250106 +vt 0.599819 0.249695 +vt 0.603883 0.254031 +vt 0.362708 0.762568 +vt 0.362881 0.762230 +vt 0.362905 0.762779 +vt 0.375013 0.724938 +vt 0.375304 0.724831 +vt 0.375103 0.725345 +vt 0.624988 0.724937 +vt 0.624898 0.725344 +vt 0.624695 0.724819 +vt 0.637403 0.762457 +vt 0.637205 0.762655 +vt 0.637230 0.762119 +vt 0.375013 0.525063 +vt 0.375102 0.524656 +vt 0.375305 0.525181 +vt 0.362597 0.487543 +vt 0.362795 0.487344 +vt 0.362770 0.487881 +vt 0.400087 0.499989 +vt 0.400181 0.500305 +vt 0.399655 0.500103 +vt 0.637292 0.487431 +vt 0.637120 0.487770 +vt 0.637095 0.487221 +vt 0.400089 0.999614 +vt 0.395924 0.995690 +vt 0.398593 0.998379 +vt 0.624706 0.974729 +vt 0.626823 0.972939 +vt 0.599819 0.000305 +vt 0.600140 0.000306 +vt 0.400081 0.250002 +vt 0.395923 0.254243 +vt 0.400090 0.250377 +vt 0.624706 0.275180 +vt 0.624694 0.274860 +vt 0.624695 0.224819 +vt 0.624694 0.225140 +vt 0.400167 0.749878 +vt 0.399656 0.749898 +vt 0.400073 0.750195 +vt 0.599913 0.750011 +vt 0.600345 0.749897 +vt 0.599819 0.749695 +vt 0.624696 0.525169 +vt 0.599833 0.500121 +vt 0.600344 0.500102 +vt 0.624897 0.524655 +vt 0.599927 0.499805 +vt 0.385918 0.472443 +vt 0.393278 0.287613 +vt 0.411658 0.269115 +vt 0.463657 0.268188 +vt 0.462766 0.486378 +vt 0.409327 0.487229 +vt 0.000000 0.000000 +vt 0.411656 0.980203 +vt 0.393279 0.962111 +vt 0.385908 0.778427 +vt 0.409103 0.765530 +vt 0.588165 0.231345 +vt 0.606142 0.213251 +vt 0.411845 0.518718 +vt 0.590672 0.762637 +vt 0.614082 0.777400 +vt 0.606721 0.960253 +vt 0.588342 0.974945 +vt 0.606718 0.286581 +vt 0.606140 0.713194 +vt 0.606217 0.535870 +vt 0.399860 0.000306 +vt 0.400311 0.000077 +vt 0.411835 0.018907 +vt 0.393858 0.036889 +vt 0.336781 0.708441 +vt 0.626274 0.973534 +vt 0.177256 0.700559 +vt 0.337448 0.707518 +vt 0.606142 0.036874 +vt 0.624931 0.275320 +vt 0.750000 0.478404 +vt 0.624987 0.525062 +vt 0.521596 0.250000 +vt 0.393855 0.214264 +vt 0.411827 0.234485 +vt 0.176464 0.699710 +vt 0.872495 0.522540 +vt 0.870381 0.520107 +vt 0.871208 0.520929 +vt 0.393783 0.714127 +vt 0.393860 0.536806 +vt 0.588154 0.731281 +vt 0.614092 0.471435 +vt 0.588165 0.018896 +vt 0.176454 0.546780 +vt 0.588494 0.411506 +vt 0.590897 0.484339 +vt 0.337468 0.541967 +vt 0.177271 0.545974 +vt 0.336803 0.541037 +vt 0.870740 0.729022 +vt 0.847992 0.498155 +s 0 +usemtl Standard.001 +f 96/1/1 99/2/1 101/3/1 +f 108/4/2 112/5/2 115/6/2 +f 135/7/3 139/8/3 141/9/3 +f 161/10/4 164/11/4 170/12/4 +f 173/13/5 175/14/5 180/15/5 +f 185/16/6 187/17/6 192/18/6 +f 232/19/7 235/20/7 242/21/7 +f 247/22/8 250/23/8 254/24/8 +f 256/25/9 258/26/9 264/27/9 +f 280/28/10 282/29/10 286/30/10 +f 296/31/11 301/32/11 304/33/11 +f 318/34/12 321/35/12 323/36/12 +f 330/37/13 335/38/13 338/39/13 +f 344/40/14 347/41/14 353/42/14 +f 358/43/15 361/44/15 368/45/15 +f 114/5/16 120/46/16 127/47/16 +f 114/5/17 127/47/17 117/6/17 +f 124/48/18 103/3/18 100/2/18 +f 124/48/19 100/2/19 130/47/19 +f 133/7/20 150/49/20 157/50/20 +f 133/7/21 157/50/21 138/8/21 +f 166/11/22 143/51/22 140/52/22 +f 166/11/22 140/52/22 171/12/22 +f 189/17/23 195/53/23 205/54/23 +f 189/17/23 205/54/23 193/18/23 +f 199/55/24 182/15/24 177/14/24 +f 199/55/24 177/14/24 202/54/24 +f 224/56/25 231/19/25 241/21/25 +f 224/56/25 241/21/25 228/57/25 +f 238/20/26 215/58/26 212/59/26 +f 238/20/27 212/59/27 243/21/27 +f 260/26/28 267/60/28 276/61/28 +f 260/26/28 276/61/28 265/27/28 +f 271/62/29 253/24/29 249/23/29 +f 271/62/29 249/23/29 273/61/29 +f 300/32/30 307/63/30 313/64/30 +f 300/32/30 313/64/30 303/33/30 +f 310/65/31 288/30/31 283/29/31 +f 310/65/32 283/29/32 316/64/32 +f 334/38/33 342/40/33 352/42/33 +f 334/38/34 352/42/34 337/39/34 +f 349/41/35 325/36/35 322/35/35 +f 349/41/36 322/35/36 354/42/36 +f 374/66/37 383/67/37 393/68/37 +f 374/66/37 393/68/37 380/69/37 +f 388/70/38 367/45/38 360/44/38 +f 388/70/39 360/44/39 390/68/39 +f 53/71/40 50/72/40 46/73/40 +f 46/73/40 435/74/40 431/75/40 +f 431/75/40 67/76/40 53/71/40 +f 46/73/40 431/75/40 53/71/40 +f 178/15/41 331/38/41 328/77/41 +f 178/15/42 328/77/42 172/77/42 +f 43/78/43 28/79/43 26/80/43 +f 43/78/43 26/80/43 23/81/43 +f 19/82/44 16/83/44 217/58/44 +f 19/82/45 217/58/45 240/77/45 +f 70/84/46 350/41/46 384/77/46 +f 70/84/46 384/77/46 79/77/46 +f 30/85/43 34/86/43 23/81/43 +f 54/71/47 68/77/47 339/40/47 +f 54/71/48 339/40/48 333/38/48 +f 37/87/43 39/88/43 42/77/43 +f 1/77/49 125/48/49 144/77/49 +f 1/77/49 144/77/49 9/77/49 +f 52/71/50 332/38/50 179/77/50 +f 52/71/50 179/77/50 49/72/50 +f 42/77/43 23/81/43 34/86/43 +f 42/77/43 34/86/43 37/87/43 +f 275/61/51 266/60/51 309/77/51 +f 275/61/51 309/77/51 315/64/51 +f 274/61/52 314/64/52 308/63/52 +f 274/61/52 308/63/52 272/62/52 +f 223/77/53 60/89/53 56/77/53 +f 223/77/54 56/77/54 229/77/54 +f 375/77/55 289/77/55 85/90/55 +f 375/77/55 85/90/55 82/91/55 +f 136/7/56 142/9/56 122/77/56 +f 137/7/57 123/77/57 129/92/57 +f 134/7/58 128/92/58 121/93/58 +f 2/94/59 5/95/59 105/3/59 +f 2/94/60 105/3/60 126/48/60 +f 427/96/61 248/23/61 246/22/61 +f 410/77/62 295/31/62 302/33/62 +f 292/77/63 152/97/63 154/50/63 +f 294/77/64 155/50/64 147/49/64 +f 293/77/65 146/49/65 297/77/65 +f 429/98/66 109/77/66 116/6/66 +f 153/97/67 416/77/67 156/50/67 +f 425/99/68 255/25/68 263/27/68 +f 113/5/69 29/79/69 44/77/69 +f 113/5/70 44/77/70 118/46/70 +f 132/77/71 119/46/71 45/77/71 +f 132/77/71 45/77/71 41/88/71 +f 245/77/72 251/24/72 110/5/72 +f 245/77/73 110/5/73 107/4/73 +f 12/100/74 167/11/74 216/77/74 +f 12/100/74 216/77/74 15/83/74 +f 218/101/75 401/102/75 356/43/75 +f 218/101/76 356/43/76 362/77/76 +f 277/28/77 411/77/77 281/29/77 +f 287/77/78 373/66/78 379/69/78 +f 284/77/79 378/69/79 371/103/79 +f 285/77/80 372/103/80 279/28/80 +f 408/77/81 394/102/81 399/77/81 +f 408/77/81 402/104/81 414/77/81 +f 408/77/81 412/102/81 406/77/81 +f 190/77/82 104/3/82 4/95/82 +f 190/77/82 4/95/82 7/105/82 +f 86/90/83 290/30/83 312/65/83 +f 86/90/84 312/65/84 89/77/84 +f 196/77/85 21/106/85 18/77/85 +f 196/77/85 18/77/85 239/77/85 +f 324/36/86 259/26/86 257/77/86 +f 324/36/87 257/77/87 319/34/87 +f 252/77/88 25/80/88 27/79/88 +f 252/77/88 27/79/88 111/5/88 +f 94/1/89 421/107/89 98/77/89 +f 299/32/90 35/86/90 31/77/90 +f 299/32/91 31/77/91 305/77/91 +f 417/77/92 158/10/92 169/12/92 +f 160/77/93 208/108/93 210/109/93 +f 163/77/94 211/109/94 214/110/94 +f 162/77/95 213/110/95 165/11/95 +f 426/96/96 244/77/96 106/77/96 +f 426/96/96 106/77/96 428/98/96 +f 78/111/97 75/112/97 72/84/97 +f 78/111/97 72/84/97 81/77/97 +f 78/111/97 81/77/97 84/91/97 +f 78/111/97 84/91/97 87/90/97 +f 78/111/97 87/90/97 90/113/97 +f 78/111/97 90/113/97 93/77/97 +f 222/77/98 365/77/98 61/114/98 +f 222/77/98 61/114/98 58/89/98 +f 151/77/99 291/77/99 407/77/99 +f 151/77/99 407/77/99 413/102/99 +f 11/115/100 14/100/100 17/83/100 +f 11/115/100 17/83/100 20/82/100 +f 11/115/100 20/82/100 22/77/100 +f 11/115/100 22/77/100 8/105/100 +f 11/115/100 8/105/100 6/95/100 +f 11/115/100 6/95/100 3/94/100 +f 77/111/101 92/77/101 269/60/101 +f 77/111/102 269/60/102 262/26/102 +f 311/77/103 268/60/103 91/77/103 +f 311/77/103 91/77/103 88/77/103 +f 409/77/104 278/28/104 370/77/104 +f 409/77/104 370/77/104 396/104/104 +f 80/77/105 385/77/105 376/77/105 +f 80/77/106 376/77/106 83/91/106 +f 320/35/107 317/34/107 424/77/107 +f 343/77/108 389/70/108 391/68/108 +f 346/77/109 392/68/109 382/67/109 +f 345/77/110 381/67/110 348/41/110 +f 377/69/111 398/77/111 369/103/111 +f 419/116/112 183/77/112 191/18/112 +f 306/77/113 32/77/113 24/81/113 +f 306/77/113 24/81/113 270/62/113 +f 236/20/114 233/19/114 201/77/114 +f 234/20/115 200/77/115 203/54/115 +f 237/20/116 204/54/116 194/53/116 +f 63/114/117 366/45/117 386/70/117 +f 63/114/118 386/70/118 65/77/118 +f 405/117/119 209/109/119 206/108/119 +f 422/107/120 95/1/120 184/77/120 +f 422/107/120 184/77/120 420/116/120 +f 329/37/121 336/39/121 423/77/121 +f 168/11/122 13/100/122 10/77/122 +f 168/11/123 10/77/123 145/77/123 +f 69/76/124 433/75/124 341/40/124 +f 432/77/124 66/77/124 387/77/124 +f 432/77/124 387/77/124 340/77/124 +f 97/77/125 102/3/125 188/17/125 +f 97/77/125 188/17/125 186/16/125 +f 36/77/126 33/86/126 298/77/126 +f 36/77/126 298/77/126 148/77/126 +f 359/44/127 357/43/127 397/77/127 +f 174/77/128 418/77/128 176/77/128 +f 437/74/129 48/73/129 198/77/129 +f 149/49/130 131/7/130 40/88/130 +f 149/49/131 40/88/131 38/87/131 +f 230/77/129 57/77/129 436/77/129 +f 230/77/129 436/77/129 198/77/129 +f 220/101/132 227/57/132 404/117/132 +f 434/77/40 55/77/40 59/89/40 +f 434/77/40 59/89/40 62/114/40 +f 434/77/40 62/114/40 64/118/40 +f 434/77/40 64/118/40 430/77/40 +f 47/73/133 51/72/133 181/15/133 +f 47/73/134 181/15/134 197/55/134 +f 364/77/135 221/56/135 226/57/135 +f 363/77/136 225/57/136 219/101/136 +f 207/77/137 159/77/137 415/77/137 +f 207/77/137 415/77/137 403/104/137 +f 355/43/75 400/102/75 395/102/75 +f 71/84/138 74/112/138 327/36/138 +f 71/84/139 327/36/139 351/41/139 +f 76/111/140 261/26/140 326/77/140 +f 76/111/140 326/77/140 73/112/140 +f 444/35/141 482/119/141 480/77/141 +f 444/35/141 480/77/141 445/39/141 +f 485/98/142 478/107/142 477/116/142 +f 485/98/142 477/116/142 476/120/142 +f 485/98/142 476/120/142 479/121/142 +f 485/98/142 479/121/142 481/119/142 +f 485/98/142 481/119/142 483/99/142 +f 485/98/142 483/99/142 484/96/142 +f 464/77/81 450/104/81 452/117/81 +f 464/77/81 452/117/81 448/102/81 +f 464/77/81 455/77/81 459/117/81 +f 464/77/81 459/117/81 457/104/81 +f 464/77/81 471/77/81 473/117/81 +f 464/77/81 473/117/81 469/102/81 +f 464/77/81 462/77/81 466/117/81 +f 463/102/143 443/31/143 467/77/143 +f 442/28/144 465/104/144 468/117/144 +f 470/102/145 474/117/145 438/97/145 +f 472/104/146 439/10/146 475/77/146 +f 454/117/147 451/104/147 447/77/147 +f 458/104/148 461/117/148 440/77/148 +f 446/43/149 449/102/149 453/117/149 +f 456/102/150 441/77/150 460/117/150 +f 489/77/151 491/121/151 490/77/151 +f 489/77/151 490/77/151 486/77/151 +f 487/77/152 493/99/152 492/77/152 +f 487/77/152 492/77/152 488/34/152 +f 497/27/153 498/61/153 495/23/153 +f 502/33/154 503/64/154 500/29/154 +f 505/39/155 506/42/155 504/35/155 +f 510/69/156 511/68/156 508/44/156 +f 496/77/157 494/23/157 515/96/157 +f 496/77/157 515/96/157 514/99/157 +f 499/29/158 513/77/158 501/33/158 +f 507/44/159 512/77/159 509/69/159 +f 519/6/160 520/47/160 517/2/160 +f 523/50/161 525/122/161 521/8/161 +f 529/18/162 530/54/162 527/14/162 +f 534/123/163 535/21/163 532/109/163 +f 539/116/164 528/18/164 526/77/164 +f 539/116/164 526/77/164 538/120/164 +f 537/77/165 524/122/165 522/50/165 +f 541/98/166 518/6/166 516/77/166 +f 541/98/166 516/77/166 540/107/166 +f 536/117/167 533/123/167 531/109/167 +f 548/24/168 549/62/168 544/81/168 +f 548/24/169 544/81/169 545/80/169 +f 543/106/170 547/53/170 546/77/170 +f 543/106/171 546/77/171 542/105/171 diff --git a/Assets/Thruster Cube Collision.obj.import b/Assets/Thruster Cube Collision.obj.import new file mode 100644 index 0000000..dab6e69 --- /dev/null +++ b/Assets/Thruster Cube Collision.obj.import @@ -0,0 +1,25 @@ +[remap] + +importer="wavefront_obj" +importer_version=1 +type="Mesh" +uid="uid://c7f1y6fhexbhm" +path="res://.godot/imported/Thruster Cube Collision.obj-b25b556e6c42aebde4547600bcacd901.mesh" + +[deps] + +files=["res://.godot/imported/Thruster Cube Collision.obj-b25b556e6c42aebde4547600bcacd901.mesh"] + +source_file="res://Assets/Thruster Cube Collision.obj" +dest_files=["res://.godot/imported/Thruster Cube Collision.obj-b25b556e6c42aebde4547600bcacd901.mesh", "res://.godot/imported/Thruster Cube Collision.obj-b25b556e6c42aebde4547600bcacd901.mesh"] + +[params] + +generate_tangents=true +generate_lods=true +generate_shadow_mesh=true +generate_lightmap_uv2=false +generate_lightmap_uv2_texel_size=0.2 +scale_mesh=Vector3(1, 1, 1) +offset_mesh=Vector3(0, 0, 0) +force_disable_mesh_compression=false diff --git a/Assets/Thruster Cube.glb b/Assets/Thruster Cube.glb new file mode 100644 index 0000000..d002a60 Binary files /dev/null and b/Assets/Thruster Cube.glb differ diff --git a/Assets/Thruster Cube.glb.import b/Assets/Thruster Cube.glb.import new file mode 100644 index 0000000..cb656fb --- /dev/null +++ b/Assets/Thruster Cube.glb.import @@ -0,0 +1,37 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://cmiwlha25agl4" +path="res://.godot/imported/Thruster Cube.glb-02382f7bdc8ae9a0011d286e98d4c123.scn" + +[deps] + +source_file="res://Assets/Thruster Cube.glb" +dest_files=["res://.godot/imported/Thruster Cube.glb-02382f7bdc8ae9a0011d286e98d4c123.scn"] + +[params] + +nodes/root_type="RigidBody3D" +nodes/root_name="" +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +_subresources={} +gltf/naming_version=1 +gltf/embedded_image_handling=1 diff --git a/Assets/obstacle.tscn b/Assets/obstacle.tscn new file mode 100644 index 0000000..7e66e58 --- /dev/null +++ b/Assets/obstacle.tscn @@ -0,0 +1,15 @@ +[gd_scene load_steps=3 format=3 uid="uid://cc7e4loxpb1x6"] + +[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_lapuk"] +points = PackedVector3Array(-0.5, -1, 0, -0.497651, -1, -0.0490407, -0.497651, -1, 0.0489429, -0.5, 1, 0, -0.490407, -1, -0.097592, -0.497651, 1, -0.0490407, -0.490407, -1, 0.0974941, -0.497651, 1, 0.0489429, -0.478563, -1, -0.145164, -0.490407, 1, -0.097592, -0.478563, -1, 0.145067, -0.490407, 1, 0.0974941, -0.46202, -1, -0.191366, -0.478563, 1, -0.145164, -0.46202, -1, 0.191269, -0.478563, 1, 0.145067, -0.440975, -1, -0.235709, -0.46202, 1, -0.191366, -0.440975, -1, 0.235611, -0.46202, 1, 0.191269, -0.415818, -1, -0.2778, -0.440975, 1, -0.235709, -0.415818, -1, 0.277702, -0.440975, 1, 0.235611, -0.386551, -1, -0.317247, -0.415818, 1, -0.2778, -0.386551, -1, 0.31715, -0.415818, 1, 0.277702, -0.353563, -1, -0.353563, -0.386551, 1, -0.317247, -0.353563, -1, 0.353465, -0.386551, 1, 0.31715, -0.317247, -1, -0.386551, -0.353563, 1, -0.353563, -0.317247, -1, 0.386453, -0.353563, 1, 0.353465, -0.2778, -1, -0.415818, -0.317247, 1, -0.386551, -0.2778, -1, 0.41572, -0.317247, 1, 0.386453, -0.235709, -1, -0.440975, -0.2778, 1, -0.415818, -0.235709, -1, 0.440877, -0.2778, 1, 0.41572, -0.191366, -1, -0.46202, -0.235709, 1, -0.440975, -0.191366, -1, 0.461922, -0.235709, 1, 0.440877, -0.145164, -1, -0.478563, -0.191366, 1, -0.46202, -0.145164, -1, 0.478465, -0.191366, 1, 0.461922, -0.097592, -1, -0.490407, -0.145164, 1, -0.478563, -0.097592, -1, 0.490309, -0.145164, 1, 0.478465, -0.0490407, -1, -0.497651, -0.097592, 1, -0.490407, -0.0490407, -1, 0.497553, -0.097592, 1, 0.490309, 0, -1, -0.5, -0.0490407, 1, -0.497651, 0, -1, 0.5, -0.0490407, 1, 0.497553, 0.0489429, -1, -0.497651, 0, 1, -0.5, 0.0489429, -1, 0.497553, 0, 1, 0.5, 0.0974941, -1, -0.490407, 0.0489429, 1, -0.497651, 0.0974941, -1, 0.490309, 0.0489429, 1, 0.497553, 0.145067, -1, -0.478563, 0.0974941, 1, -0.490407, 0.145067, -1, 0.478465, 0.0974941, 1, 0.490309, 0.191269, -1, -0.46202, 0.145067, 1, -0.478563, 0.191269, -1, 0.461922, 0.145067, 1, 0.478465, 0.235611, -1, -0.440975, 0.191269, 1, -0.46202, 0.235611, -1, 0.440877, 0.191269, 1, 0.461922, 0.277702, -1, -0.415818, 0.235611, 1, -0.440975, 0.277702, -1, 0.41572, 0.235611, 1, 0.440877, 0.31715, -1, -0.386551, 0.277702, 1, -0.415818, 0.31715, -1, 0.386453, 0.277702, 1, 0.41572, 0.353465, -1, -0.353563, 0.31715, 1, -0.386551, 0.353465, -1, 0.353465, 0.31715, 1, 0.386453, 0.386453, -1, -0.317247, 0.353465, 1, -0.353563, 0.386453, -1, 0.31715, 0.353465, 1, 0.353465, 0.41572, -1, -0.2778, 0.386453, 1, -0.317247, 0.41572, -1, 0.277702, 0.386453, 1, 0.31715, 0.440877, -1, -0.235709, 0.41572, 1, -0.2778, 0.440877, -1, 0.235611, 0.41572, 1, 0.277702, 0.461922, -1, -0.191366, 0.440877, 1, -0.235709, 0.461922, -1, 0.191269, 0.440877, 1, 0.235611, 0.478465, -1, -0.145164, 0.461922, 1, -0.191366, 0.478465, -1, 0.145067, 0.461922, 1, 0.191269, 0.490309, -1, -0.097592, 0.478465, 1, -0.145164, 0.490309, -1, 0.0974941, 0.478465, 1, 0.145067, 0.497553, -1, -0.0490407, 0.490309, 1, -0.097592, 0.497553, -1, 0.0489429, 0.490309, 1, 0.0974941, 0.5, -1, 0, 0.497553, 1, -0.0490407, 0.497553, 1, 0.0489429, 0.5, 1, 0) + +[sub_resource type="CylinderMesh" id="CylinderMesh_cy40f"] + +[node name="Obstacle" type="StaticBody3D"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="."] +shape = SubResource("ConvexPolygonShape3D_lapuk") + +[node name="MeshInstance3D" type="MeshInstance3D" parent="CollisionShape3D"] +mesh = SubResource("CylinderMesh_cy40f") +skeleton = NodePath("../..") diff --git a/Assets/player_ship.gd b/Assets/player_ship.gd new file mode 100644 index 0000000..7b4950b --- /dev/null +++ b/Assets/player_ship.gd @@ -0,0 +1,8 @@ +extends RigidBody3D + +@export var _start_direction: Vector3 +@export var _start_speed: float + +func _ready(): + # apply_force(_, global_position) + apply_central_force(_start_direction.normalized() * _start_speed) diff --git a/Assets/player_ship.gd.uid b/Assets/player_ship.gd.uid new file mode 100644 index 0000000..2f983b9 --- /dev/null +++ b/Assets/player_ship.gd.uid @@ -0,0 +1 @@ +uid://ccnbhjxglgw12 diff --git a/Assets/player_ship.tscn b/Assets/player_ship.tscn new file mode 100644 index 0000000..98c6334 --- /dev/null +++ b/Assets/player_ship.tscn @@ -0,0 +1,49 @@ +[gd_scene load_steps=6 format=3 uid="uid://c8tm1q2cp567o"] + +[ext_resource type="Script" uid="uid://ccnbhjxglgw12" path="res://Assets/player_ship.gd" id="1_3yydb"] +[ext_resource type="Script" uid="uid://ci33hs6nbuhqr" path="res://Assets/shipAiComponent.gd" id="2_vr0dq"] + +[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_tjnu1"] +radius = 1.48237 +height = 3.89605 + +[sub_resource type="PrismMesh" id="PrismMesh_tjnu1"] + +[sub_resource type="CylinderMesh" id="CylinderMesh_3yydb"] + +[node name="PlayerShip" type="RigidBody3D"] +script = ExtResource("1_3yydb") +_start_direction = Vector3(0, 0, -50) +_start_speed = 1.0 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="."] +transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, -0.358494) +shape = SubResource("CapsuleShape3D_tjnu1") + +[node name="MeshInstance3D" type="MeshInstance3D" parent="CollisionShape3D"] +transform = Transform3D(2.20781, 0, 0, 0, -9.18077e-08, -1.7005, 0, 2.10032, -7.43314e-08, 0, 0.524807, 0.378866) +mesh = SubResource("PrismMesh_tjnu1") +skeleton = NodePath("../..") + +[node name="MeshInstance3D2" type="MeshInstance3D" parent="CollisionShape3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.475193, -2.07714e-08) +mesh = SubResource("CylinderMesh_3yydb") +skeleton = NodePath("../..") + +[node name="ShipAiComponent" type="Node" parent="."] +script = ExtResource("2_vr0dq") +metadata/_custom_type_script = "uid://ci33hs6nbuhqr" + +[node name="Label3D" type="Label3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.32815, 0) +billboard = 2 +no_depth_test = true +render_priority = 1 +text = "Text" +font_size = 128 + +[node name="RayCast3D" type="RayCast3D" parent="."] +target_position = Vector3(0, 0, 0) +hit_from_inside = true +collide_with_areas = true +debug_shape_custom_color = Color(0.712962, 0.712962, 0.712962, 1) diff --git a/Assets/shipAiComponent.gd b/Assets/shipAiComponent.gd new file mode 100644 index 0000000..a175d13 --- /dev/null +++ b/Assets/shipAiComponent.gd @@ -0,0 +1,40 @@ +extends Node +class_name ShipAiComponent + +var text: Label3D +var colShape: CollisionShape3D +var distText = "Distance to collision: " +var secText = "Seconds to collision: " + +var dist = 0.0 +var collision = 0.0 + +func _ready(): + text = $"../Label3D" + colShape = $"../CollisionShape3D" + + +func _physics_process(delta): + calcColDist(delta) + + text.text = distText + String("%0.2f" % dist) + " Meters\n" + secText + String("%0.2f" % collision) + " Seconds" + +func calcColDist(_delta) -> void: + var rigidBody: RigidBody3D = $".." + var rayCast: RayCast3D = $"../RayCast3D" + var pos = rigidBody.global_position + var linearVelocity = rigidBody.linear_velocity.normalized() * 100 + + rayCast.target_position = rigidBody.to_local(linearVelocity) + # rayCast.rotation = rigidBody.rotation + # rayCast.position = pos + if rayCast.is_colliding(): + dist = (rayCast.get_collision_point() - pos).length() - 2.5 # Ship size-> eg. bounding box + collision = dist / rigidBody.linear_velocity.length() + if (collision <= 0.0): + collision = 0.0 + + + else: + dist = 0.0 + collision = 0.0 diff --git a/Assets/shipAiComponent.gd.uid b/Assets/shipAiComponent.gd.uid new file mode 100644 index 0000000..213a556 --- /dev/null +++ b/Assets/shipAiComponent.gd.uid @@ -0,0 +1 @@ +uid://ci33hs6nbuhqr diff --git a/Assets/thruster_cube.gd b/Assets/thruster_cube.gd new file mode 100644 index 0000000..3272de4 --- /dev/null +++ b/Assets/thruster_cube.gd @@ -0,0 +1,31 @@ +extends RigidBody3D + +var torque_force: float = 10000.0 + +func _physics_process(delta): + var local_torque := Vector3.ZERO + + # Pitch + if Input.is_action_pressed("w"): + local_torque.x -= 1 + if Input.is_action_pressed("s"): + local_torque.x += 1 + + # Yaw + if Input.is_action_pressed("a"): + local_torque.y -= 1 + if Input.is_action_pressed("d"): + local_torque.y += 1 + + # Roll + if Input.is_action_pressed("q"): + local_torque.z += 1 + if Input.is_action_pressed("e"): + local_torque.z -= 1 + + # Apply local torque converted to world space + if local_torque != Vector3.ZERO: + var world_torque = global_transform.basis * local_torque.normalized() * torque_force * delta + apply_torque(world_torque) + + print(angular_velocity) \ No newline at end of file diff --git a/Assets/thruster_cube.gd.uid b/Assets/thruster_cube.gd.uid new file mode 100644 index 0000000..2bdb28d --- /dev/null +++ b/Assets/thruster_cube.gd.uid @@ -0,0 +1 @@ +uid://dd3ns5mckarbj diff --git a/Assets/thruster_cube.tscn b/Assets/thruster_cube.tscn new file mode 100644 index 0000000..1ad7b71 --- /dev/null +++ b/Assets/thruster_cube.tscn @@ -0,0 +1,37 @@ +[gd_scene load_steps=4 format=3 uid="uid://1al1ysn5q5yk"] + +[ext_resource type="PackedScene" uid="uid://cmiwlha25agl4" path="res://Assets/Thruster Cube.glb" id="1_48yjx"] +[ext_resource type="Script" uid="uid://dd3ns5mckarbj" path="res://Assets/thruster_cube.gd" id="2_j3sme"] + +[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_48yjx"] +points = PackedVector3Array(5.05799, 3.09144, 8.02469, 5.05799, -3.09243, 8.02469, 5.05799, 3.72121, 7.41253, 4.99561, 3.99253, 9.40488, 5.05799, -3.7222, 7.41253, 4.99561, -3.99352, 9.40488, 5.05799, 3.72121, -8.54888, 4.99561, 4.98769, 8.4087, 4.99165, 4.00936, 9.40714, 4.98769, 3.99253, 9.41165, 4.99165, 4.99165, 8.42677, 4.99561, -4.98868, 8.4087, 5.05799, -3.7222, -8.54888, 4.98769, -3.99352, 9.41165, 4.99165, -4.01035, 9.40714, 4.99165, -4.99264, 8.42677, 5.05799, 3.09144, -9.15878, 4.99561, 3.99253, -10.539, 4.99561, 4.98769, -9.54505, 1.20608, 0.951591, 11.8535, 4.00936, 4.99165, 9.40714, 4.98769, 4.99561, 8.4087, 3.99253, 4.99561, 9.40488, 4.99561, -4.98868, -9.54505, 4.99561, -3.99352, -10.539, 5.05799, -3.09243, -9.15878, 1.20608, -0.952582, 11.8535, 4.00936, -4.99264, 9.40714, 4.98769, -4.9966, 8.4087, 3.99253, -4.9966, 9.40488, 4.99165, 4.00936, -10.5435, 4.99165, 4.99165, -9.56086, 0.951591, 1.20608, 11.8535, 3.99253, 4.98769, 9.41165, 3.72121, 5.05799, 7.41253, 4.98769, 4.99561, -9.54505, -3.99352, 4.99561, 9.40488, 3.09144, 5.05799, 8.02469, 4.99165, -4.99264, -9.56086, 4.99165, -4.01035, -10.5435, 0.951591, -1.20707, 11.8535, 3.99253, -4.98868, 9.41165, 3.72121, -5.05799, 7.41253, 4.98769, -4.9966, -9.54505, -3.99352, -4.9966, 9.40488, 3.09144, -5.05799, 8.02469, 4.98769, 3.99253, -10.548, 3.08153, 3.08153, -11.2234, 4.00936, 4.99165, -10.5435, -0.952582, 1.20608, 11.8535, -3.99352, 4.98769, 9.41165, 3.72121, 5.05799, -8.54888, 3.99253, 4.99561, -10.539, -4.01035, 4.99165, 9.40714, -3.09243, 5.05799, 8.02469, -3.7222, 5.05799, 7.41253, -4.98868, 4.99561, 8.4087, -4.99264, 4.99165, 8.42677, 4.00936, -4.99264, -10.5435, 3.08153, -3.08252, -11.2234, 4.98769, -3.99352, -10.548, -0.952582, -1.20707, 11.8535, -3.99352, -4.98868, 9.41165, 3.72121, -5.05799, -8.54888, 3.99253, -4.9966, -10.539, -4.01035, -4.99264, 9.40714, -4.99264, -4.99264, 8.42677, -4.98868, -4.9966, 8.4087, -3.7222, -5.05799, 7.41253, -3.09243, -5.05799, 8.02469, 3.1152, 2.99935, -11.2234, 2.99935, 3.1152, -11.2234, 3.99253, 4.98769, -10.548, -1.20707, 0.951591, 11.8535, 3.09144, 5.05799, -9.15878, -3.99352, 4.99561, -10.539, -4.99264, 4.00936, 9.40714, -3.7222, 5.05799, -8.54888, -4.98868, 4.99561, -9.54505, -4.9966, 4.98769, 8.4087, -4.9966, 3.99253, 9.40488, 3.99253, -4.98868, -10.548, 2.99935, -3.11619, -11.2234, 3.1152, -3.00034, -11.2234, -1.20707, -0.952582, 11.8535, 3.09144, -5.05799, -9.15878, -3.99352, -4.9966, -10.539, -4.99264, -4.01035, 9.40714, -4.9966, -3.99352, 9.40488, -4.9966, -4.98868, 8.4087, -4.98868, -4.9966, -9.54505, -3.7222, -5.05799, -8.54888, -3.00034, 3.1152, -11.2234, -3.99352, 4.98769, -10.548, -4.98868, 3.99253, 9.41165, -3.09243, 5.05799, -9.15878, -4.01035, 4.99165, -10.5435, -4.99264, 4.99165, -9.56086, -5.05799, 3.72121, 7.41253, -4.9966, 4.98769, -9.54505, -5.05799, 3.09144, 8.02469, -3.99352, -4.98868, -10.548, -3.00034, -3.11619, -11.2234, -4.98868, -3.99352, 9.41165, -3.09243, -5.05799, -9.15878, -4.01035, -4.99264, -10.5435, -5.05799, -3.09243, 8.02469, -5.05799, -3.7222, 7.41253, -4.9966, -4.98868, -9.54505, -4.99264, -4.99264, -9.56086, -3.08252, 3.08153, -11.2234, -4.99264, 4.00936, -10.5435, -5.05799, 3.72121, -8.54888, -4.9966, 3.99253, -10.539, -3.08252, -3.08252, -11.2234, -4.99264, -4.01035, -10.5435, -5.05799, -3.7222, -8.54888, -4.9966, -3.99352, -10.539, -3.11619, 2.99935, -11.2234, -4.98868, 3.99253, -10.548, -5.05799, 3.09144, -9.15878, -3.11619, -3.00034, -11.2234, -4.98868, -3.99352, -10.548, -5.05799, -3.09243, -9.15878) + +[node name="Thruster Cube" instance=ExtResource("1_48yjx")] +script = ExtResource("2_j3sme") + +[node name="TheThrusterCube" parent="." index="0"] +transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0) + +[node name="CollisionShape3D" type="CollisionShape3D" parent="." index="1"] +transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0) +shape = SubResource("ConvexPolygonShape3D_48yjx") + +[node name="OmniLight3D" type="OmniLight3D" parent="." index="2"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.84073, 4.87805, 10.3575) +light_color = Color(1, 0.231373, 0.360784, 1) +light_energy = 50.0 + +[node name="OmniLight3D2" type="OmniLight3D" parent="." index="3"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.841, 4.878, -8.84974) +light_color = Color(1, 0.231373, 0.360784, 1) +light_energy = 50.0 + +[node name="OmniLight3D3" type="OmniLight3D" parent="." index="4"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.84073, -4.37604, 10.3575) +light_color = Color(1, 0.231373, 0.360784, 1) +light_energy = 50.0 + +[node name="OmniLight3D4" type="OmniLight3D" parent="." index="5"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.841, -4.3761, -8.84974) +light_color = Color(1, 0.231373, 0.360784, 1) +light_energy = 50.0 diff --git a/Assets/thruster_cube_collision.tscn b/Assets/thruster_cube_collision.tscn new file mode 100644 index 0000000..3c51cfc --- /dev/null +++ b/Assets/thruster_cube_collision.tscn @@ -0,0 +1,5 @@ +[gd_scene load_steps=2 format=3 uid="uid://bp7um84bpvhmx"] + +[ext_resource type="PackedScene" uid="uid://crfjfbhjuderh" path="res://Assets/Thruster Cube Collision.glb" id="1_v5i77"] + +[node name="Thruster Cube Collision" instance=ExtResource("1_v5i77")] diff --git a/Levels/pid_test.tscn b/Levels/pid_test.tscn new file mode 100644 index 0000000..ebab52e --- /dev/null +++ b/Levels/pid_test.tscn @@ -0,0 +1,3 @@ +[gd_scene format=3 uid="uid://caj5t8q1fii5m"] + +[node name="PidTest" type="Node3D"] diff --git a/Levels/space_move.tscn b/Levels/space_move.tscn new file mode 100644 index 0000000..98e549e --- /dev/null +++ b/Levels/space_move.tscn @@ -0,0 +1,3 @@ +[gd_scene format=3 uid="uid://jynlgkm41y8d"] + +[node name="SpaceMove" type="Node3D"] diff --git a/Levels/space_test.tscn b/Levels/space_test.tscn new file mode 100644 index 0000000..c82650d --- /dev/null +++ b/Levels/space_test.tscn @@ -0,0 +1,67 @@ +[gd_scene load_steps=10 format=3 uid="uid://dgst4apmowe53"] + +[ext_resource type="PackedScene" uid="uid://cc7e4loxpb1x6" path="res://Assets/obstacle.tscn" id="1_ig7tw"] +[ext_resource type="PackedScene" uid="uid://c8tm1q2cp567o" path="res://Assets/player_ship.tscn" id="2_0xm2m"] +[ext_resource type="PackedScene" uid="uid://1al1ysn5q5yk" path="res://Assets/thruster_cube.tscn" id="3_h2yge"] + +[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_hsoxx"] + +[sub_resource type="Sky" id="Sky_gojnm"] +sky_material = SubResource("ProceduralSkyMaterial_hsoxx") +process_mode = 1 + +[sub_resource type="Environment" id="Environment_hsoxx"] +background_mode = 2 +sky = SubResource("Sky_gojnm") +ambient_light_source = 3 +ambient_light_color = Color(1, 1, 1, 1) + +[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_1c2mv"] + +[sub_resource type="SphereMesh" id="SphereMesh_0xm2m"] + +[sub_resource type="PlaneMesh" id="PlaneMesh_h2yge"] + +[node name="TestLevel" type="Node3D"] + +[node name="Camera3D" type="Camera3D" parent="."] +transform = Transform3D(0.998445, -0.0179374, 0.0527875, -9.30799e-10, 0.946829, 0.321737, -0.0557519, -0.321236, 0.945357, 0.181835, 5.6324, 24.1051) +fov = 50.4 + +[node name="WorldEnvironment" type="WorldEnvironment" parent="."] +environment = SubResource("Environment_hsoxx") +camera_attributes = SubResource("CameraAttributesPractical_1c2mv") + +[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] +transform = Transform3D(0.933305, -0.340159, 0.115038, 0, 0.320365, 0.947294, -0.359085, -0.884114, 0.298998, 0, 1.65681, 0) + +[node name="Node" type="Node3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.112919, -16.6481, 0.0137749) + +[node name="Obstacle" parent="Node" instance=ExtResource("1_ig7tw")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.528058, 1.09307, -4.11262) + +[node name="PlayerShip" parent="Node" instance=ExtResource("2_0xm2m")] +transform = Transform3D(-0.0337657, 0, -0.99943, 0, 1, 0, 0.99943, 0, -0.0337657, -20.7388, 9.76772, -1.42542) +_start_direction = Vector3(1, 0.5, 0) +_start_speed = 100.0 + +[node name="Marker3D" type="Marker3D" parent="Node"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.147182, -10.5201) +gizmo_extents = 5.03 + +[node name="MeshInstance3D" type="MeshInstance3D" parent="Node/Marker3D"] +transform = Transform3D(0.189904, 0, 0, 0, 0.189904, 0, 0, 0, 0.189904, 0, 0, 0) +mesh = SubResource("SphereMesh_0xm2m") + +[node name="Obstacle2" parent="Node" instance=ExtResource("1_ig7tw")] +transform = Transform3D(0.635485, -0.772113, 0, 0.772113, 0.635485, 0, 0, 0, 1, -6.93043, 24.3938, -1.34355) + +[node name="MeshInstance3D" type="MeshInstance3D" parent="Node"] +transform = Transform3D(11.7541, 0, 0, 0, 1, 0, 0, 0, 11.7541, 0, -7, 0) +mesh = SubResource("PlaneMesh_h2yge") +skeleton = NodePath("../..") + +[node name="Thruster Cube" parent="." instance=ExtResource("3_h2yge")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -11.2033) +mass = 200.0 diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..9d8b7fa --- /dev/null +++ b/icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icon.svg.import b/icon.svg.import new file mode 100644 index 0000000..36822f9 --- /dev/null +++ b/icon.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dn1gvn1u25k0m" +path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.svg" +dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/main.tscn b/main.tscn new file mode 100644 index 0000000..9b67dfc --- /dev/null +++ b/main.tscn @@ -0,0 +1,54 @@ +[gd_scene load_steps=5 format=3 uid="uid://djelupqdj4wgd"] + +[ext_resource type="Script" uid="uid://bel5yfuiqithe" path="res://open_level_component.gd" id="1_ig7tw"] +[ext_resource type="PackedScene" uid="uid://dgst4apmowe53" path="res://Levels/space_test.tscn" id="2_1bvp3"] +[ext_resource type="PackedScene" uid="uid://jynlgkm41y8d" path="res://Levels/space_move.tscn" id="3_lquwl"] +[ext_resource type="PackedScene" uid="uid://caj5t8q1fii5m" path="res://Levels/pid_test.tscn" id="4_7mycd"] + +[node name="Main" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="VBoxContainer" type="VBoxContainer" parent="."] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 482.0 +offset_top = 55.0 +offset_right = -482.0 +offset_bottom = -55.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="Button" type="Button" parent="VBoxContainer"] +layout_mode = 2 +text = "space_test" + +[node name="OpenLevelComponent" type="Node" parent="VBoxContainer/Button"] +script = ExtResource("1_ig7tw") +level = ExtResource("2_1bvp3") +metadata/_custom_type_script = "uid://bel5yfuiqithe" + +[node name="Button2" type="Button" parent="VBoxContainer"] +layout_mode = 2 +text = "space_move +" + +[node name="OpenLevelComponent" type="Node" parent="VBoxContainer/Button2"] +script = ExtResource("1_ig7tw") +level = ExtResource("3_lquwl") +metadata/_custom_type_script = "uid://bel5yfuiqithe" + +[node name="Button3" type="Button" parent="VBoxContainer"] +layout_mode = 2 +text = "pid_test" + +[node name="OpenLevelComponent" type="Node" parent="VBoxContainer/Button3"] +script = ExtResource("1_ig7tw") +level = ExtResource("4_7mycd") +metadata/_custom_type_script = "uid://bel5yfuiqithe" diff --git a/open_level_component.gd b/open_level_component.gd new file mode 100644 index 0000000..c232916 --- /dev/null +++ b/open_level_component.gd @@ -0,0 +1,12 @@ +extends Node +class_name OpenLevelComponent + +@onready var button: Button = get_parent() as Button +@export var level:PackedScene + +func _ready() -> void: + button.pressed.connect(_on_button_pressed) + button.name = button.text + +func _on_button_pressed() -> void: + get_tree().change_scene_to_packed(level) diff --git a/open_level_component.gd.uid b/open_level_component.gd.uid new file mode 100644 index 0000000..187edb1 --- /dev/null +++ b/open_level_component.gd.uid @@ -0,0 +1 @@ +uid://bel5yfuiqithe diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..4a70f12 --- /dev/null +++ b/project.godot @@ -0,0 +1,59 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=5 + +[application] + +config/name="Experements" +run/main_scene="uid://djelupqdj4wgd" +config/features=PackedStringArray("4.5", "Forward Plus") +boot_splash/bg_color=Color(0, 0, 0, 1) +config/icon="res://icon.svg" + +[input] + +w={ +"deadzone": 0.2, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"location":0,"echo":false,"script":null) +] +} +a={ +"deadzone": 0.2, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null) +] +} +s={ +"deadzone": 0.2, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null) +] +} +d={ +"deadzone": 0.2, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null) +] +} +q={ +"deadzone": 0.2, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":81,"key_label":0,"unicode":113,"location":0,"echo":false,"script":null) +] +} +e={ +"deadzone": 0.2, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":69,"key_label":0,"unicode":101,"location":0,"echo":false,"script":null) +] +} + +[physics] + +3d/physics_engine="Jolt Physics" +3d/default_gravity=0.0 +3d/default_linear_damp=0.0 +3d/default_angular_damp=0.0 +3d/sleep_threshold_linear=0.01 +3d/sleep_threshold_angular=0.00872665