add planes

This commit is contained in:
tristaan
2024-03-10 18:51:13 +01:00
parent 7b85d6225f
commit 2c69bca82f
9 changed files with 59804 additions and 2 deletions

11
Plane.gd Normal file
View File

@@ -0,0 +1,11 @@
extends RigidBody3D
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass

22800
ladje/11.obj Normal file

File diff suppressed because it is too large Load Diff

22
ladje/11.obj.import Normal file
View File

@@ -0,0 +1,22 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://dkilmlksh2jl8"
path="res://.godot/imported/11.obj-31cbd55a96e83166ca6792fa5f6d56bf.mesh"
[deps]
files=["res://.godot/imported/11.obj-31cbd55a96e83166ca6792fa5f6d56bf.mesh"]
source_file="res://ladje/11.obj"
dest_files=["res://.godot/imported/11.obj-31cbd55a96e83166ca6792fa5f6d56bf.mesh", "res://.godot/imported/11.obj-31cbd55a96e83166ca6792fa5f6d56bf.mesh"]
[params]
generate_tangents=true
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
optimize_mesh=true
force_disable_mesh_compression=false

12043
ladje/22.obj Normal file

File diff suppressed because it is too large Load Diff

22
ladje/22.obj.import Normal file
View File

@@ -0,0 +1,22 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://cahp2xswdx1nx"
path="res://.godot/imported/22.obj-a7a53e7eec5e1133d982f21e5139b3ed.mesh"
[deps]
files=["res://.godot/imported/22.obj-a7a53e7eec5e1133d982f21e5139b3ed.mesh"]
source_file="res://ladje/22.obj"
dest_files=["res://.godot/imported/22.obj-a7a53e7eec5e1133d982f21e5139b3ed.mesh", "res://.godot/imported/22.obj-a7a53e7eec5e1133d982f21e5139b3ed.mesh"]
[params]
generate_tangents=true
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
optimize_mesh=true
force_disable_mesh_compression=false

24828
ladje/33.obj Normal file

File diff suppressed because it is too large Load Diff

22
ladje/33.obj.import Normal file
View File

@@ -0,0 +1,22 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://bcu2a8j38llu7"
path="res://.godot/imported/33.obj-f9a083bd421c83ec7af4abc6adbc8b74.mesh"
[deps]
files=["res://.godot/imported/33.obj-f9a083bd421c83ec7af4abc6adbc8b74.mesh"]
source_file="res://ladje/33.obj"
dest_files=["res://.godot/imported/33.obj-f9a083bd421c83ec7af4abc6adbc8b74.mesh", "res://.godot/imported/33.obj-f9a083bd421c83ec7af4abc6adbc8b74.mesh"]
[params]
generate_tangents=true
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
optimize_mesh=true
force_disable_mesh_compression=false

View File

@@ -11,5 +11,10 @@ config_version=5
[application]
config/name="3d_game"
run/main_scene="res://root.tscn"
config/features=PackedStringArray("4.2", "Forward Plus")
config/icon="res://icon.svg"
[filesystem]
import/fbx/enabled=false

View File

@@ -1,3 +1,52 @@
[gd_scene format=3 uid="uid://jyfdp63cqe86"]
[gd_scene load_steps=9 format=3 uid="uid://jyfdp63cqe86"]
[node name="Node3D" type="Node3D"]
[ext_resource type="Script" path="res://Plane.gd" id="1_lrw8a"]
[ext_resource type="ArrayMesh" uid="uid://bcu2a8j38llu7" path="res://ladje/33.obj" id="1_s05fj"]
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_1t0ch"]
points = PackedVector3Array(39.0307, -4.28729, -10.3766, 73.4663, -8.87646, 33.2452, 71.1674, -8.87646, 35.542, 43.6284, 0.304567, 14.875, 39.0307, -6.58187, 21.761, 64.281, -13.4683, 24.0624, 41.3329, 0.304567, -8.07977, 39.0307, -1.99136, 24.0624, 66.5765, -13.4683, 35.542, 73.4663, -13.4683, 28.647, 39.0307, -6.58187, -5.77844, 45.9239, -6.58187, -5.77844, 73.4663, -8.87646, 28.647, 45.9239, 0.304567, -1.18928, 66.5765, -6.58187, 33.2452, 50.5149, -4.28729, -1.18928, 39.0307, 0.304567, -8.07977, 64.281, -8.87646, 35.542, 48.2194, -1.99136, 26.3502, 45.9239, -8.87646, 3.40438, 43.6284, -6.58187, 26.3502, 39.0307, 0.304567, 14.875, 64.281, -13.4683, 33.2452, 73.4663, -13.4683, 33.2452, 52.8103, -1.99136, 19.4642, 45.9239, -1.99136, -5.77844, 45.9239, -8.87646, 17.1674, 41.3329, -1.99136, -10.3766, 66.5765, -13.4683, 24.0624, 59.69, -6.58187, 33.2452, 50.5149, -6.58187, -1.18928, 64.281, -11.1724, 35.542)
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_e40m1"]
points = PackedVector3Array(22.9592, 7.19281, -28.7393, 39.0307, 0.308612, 7.98298, 34.4386, 7.19281, -8.08426, 22.9592, 4.89755, 10.2818, 22.9592, -1.98822, -40.2237, 22.9592, -4.28505, 1.09632, 39.0307, -6.58187, -8.08426, 32.1418, 4.89755, -40.2237, 39.0307, -6.58187, 7.98298, 27.5513, 9.48964, -8.08426, 39.0307, 0.308612, -12.677, 32.1418, 0.308612, -40.2237, 22.9592, -1.98822, 10.2818, 27.5513, 7.19281, 5.68907, 22.9592, 9.48964, -21.8526, 29.8497, 9.48964, -19.5538, 22.9592, -4.28505, -17.2599, 36.7339, 4.89755, -19.5538, 34.4386, -6.58187, -5.79035, 22.9592, 7.19281, 5.68907, 27.5513, 4.89755, 10.2818, 22.9592, 0.308612, -40.2237, 25.256, -1.98822, -40.2237, 34.4386, 7.19281, -19.5538, 36.7339, -6.58187, 7.98298, 39.0307, -4.28505, -12.677, 29.8497, 4.89755, -40.2237, 34.4386, 4.89755, 3.39022, 22.9592, 9.48964, -10.3831, 27.5513, -1.98822, 10.2818, 27.5513, 9.48964, -21.8526, 34.4386, -6.58187, 3.39022)
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_ahw13"]
points = PackedVector3Array(13.7737, 25.5611, 60.7831, -0.342681, -8.33582, -0.86055, -0.469233, -6.55417, -22.315, 22.9592, -4.28415, -17.2576, -2.29356, 7.19371, -76.9383, -2.29356, 7.19371, 58.4757, 18.364, 2.60185, 49.3028, 22.9592, 9.48784, -24.1373, -2.29356, -8.87601, 42.4089, 2.2992, 0.307714, -83.8322, 20.6604, 23.2634, 44.7021, -2.29356, 11.782, -53.9777, 6.88949, -11.1737, 1.08823, 20.6604, -1.99001, -47.098, -2.29356, 11.782, 53.8892, 4.59558, -8.87601, 42.4089, 2.2992, 7.19371, -76.9383, 9.18587, 2.60185, 58.4757, 20.6604, 20.9693, 58.4757, -2.29356, 0.307714, -83.8322, 12.9877, 16.0471, -15.9481, 22.9592, 2.60185, -42.5115, 20.6604, 4.89957, 49.3028, 22.9592, 9.48784, 17.155, 4.59558, -8.87601, -24.1373, 16.0676, 25.5611, 51.596, 2.2992, 4.89957, -83.8322, 2.2992, -11.1737, 24.0489, 4.59558, -4.28415, 51.596, 2.2992, 9.48784, -67.7513, 18.364, 25.5611, 60.7831, 21.9648, -1.26673, 8.55842)
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_v125o"]
points = PackedVector3Array(-6.88946, -11.1737, 1.08935, -20.9696, -2.07362, -15.2726, -20.6596, 25.5611, 60.7972, -4.59578, 7.19371, -72.3555, -2.29603, -4.28415, 51.6084, -20.6596, 4.89957, 49.3144, -22.9594, 2.60185, -42.5081, -2.29603, 11.782, 53.9023, -2.29603, 0.307714, -70.0616, -2.29603, 11.782, -49.4031, -13.7725, 25.5611, 60.7972, -20.6596, -1.99001, -47.1092, -22.9594, 9.48784, -24.1436, -2.29603, -8.87601, -24.1436, -4.59578, -8.87601, 42.4195, -22.0931, -1.22, 8.82303, -9.18517, 2.60185, 58.4901, -13.4962, 15.8983, -14.7686, -2.29603, 14.0761, 24.0417, -22.9594, 9.48784, 17.16, -13.7725, 25.5611, 51.6084, -2.29603, 7.19371, 58.4901, -2.29603, -8.87601, 42.4195, -20.6596, 25.5611, 56.1962, -4.59578, 2.60185, -74.6626, -20.6596, 20.9693, 60.7972, -9.81366, 16.5732, -15.3762, -18.366, 2.60185, 49.3144, -4.59578, -8.87601, -24.1436, -4.59578, -11.1737, 17.16, -2.29603, 7.19371, -72.3555, -4.59578, 9.48784, -63.1798)
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_eplg0"]
points = PackedVector3Array(-25.2567, 9.48964, -8.08426, -36.7336, -6.58187, -5.79035, -34.4377, -6.58187, -5.79035, -25.2567, -1.98822, -40.2237, -22.9621, -1.98822, 10.2818, -36.7336, 4.89755, -10.3831, -32.1418, 4.89755, -40.2237, -36.7336, 2.60072, 5.68907, -22.9621, 7.19281, -28.7393, -22.9621, -4.28505, -17.2599, -22.9621, 4.89755, 10.2818, -29.8472, 9.48964, -19.5538, -36.7336, -6.58187, 3.39022, -32.1418, 0.308612, -40.2237, -36.7336, 4.89755, -19.5538, -22.9621, 0.308612, -40.2237, -27.5526, 7.19281, 5.68907, -22.9621, -4.28505, 1.09632, -34.4377, 7.19281, -8.08426, -22.9621, 9.48964, -21.8526, -27.5526, -1.98822, 10.2818, -36.7336, -1.98822, -17.2599, -27.5526, 4.89755, 10.2818, -22.9621, 7.19281, 5.68907, -22.9621, -1.98822, -40.2237, -34.4377, 7.19281, -19.5538, -29.8472, 4.89755, -40.2237, -29.8472, 9.48964, -12.677, -34.4377, -6.58187, 3.39022, -36.6149, -4.18608, 5.33279, -34.4377, 4.89755, 3.39022, -22.9621, 9.48964, -10.3831)
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_tmnsn"]
points = PackedVector3Array(-66.5774, -8.87646, 19.4626, -36.735, 0.304567, 7.99422, -36.735, -6.58187, 7.99422, -35.3992, 0.805438, -14.4259, -64.2799, -6.58187, 33.2436, -64.2799, -13.4683, 24.0594, -39.0361, -4.28729, 24.0594, -39.0361, -6.58187, -8.08044, -66.5774, -13.4683, 35.542, -45.9214, 0.304567, -1.18995, -73.4663, -8.87646, 28.6515, -48.2189, -1.99136, 26.3578, -50.5128, -6.58187, -1.18995, -73.4663, -13.4683, 28.6515, -39.0361, -6.58187, 21.7658, -43.6275, 0.304567, 14.8753, -73.4663, -8.87646, 33.2436, -39.0361, -1.99136, 24.0594, -45.9214, -1.99136, -5.78204, -36.735, -6.58187, -8.08044, -64.2799, -8.87646, 35.542, -45.9214, -6.58187, -5.78204, -52.8103, -1.99136, 19.4626, -64.2799, -13.4683, 33.2436, -39.0361, -4.28729, -12.6725, -68.8749, -13.4683, 24.0594, -71.1688, -13.4683, 35.542, -43.6275, -6.58187, 26.3578, -39.0361, 0.304567, 14.8753, -39.0361, 0.304567, -12.6725, -71.1688, -8.87646, 35.542, -50.5128, -4.28729, -1.18995)
[node name="Root" type="Node3D"]
[node name="Plane" type="RigidBody3D" parent="."]
script = ExtResource("1_lrw8a")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Plane"]
mesh = ExtResource("1_s05fj")
skeleton = NodePath("../..")
[node name="@CollisionShape3D@24631" type="CollisionShape3D" parent="Plane"]
shape = SubResource("ConvexPolygonShape3D_1t0ch")
[node name="@CollisionShape3D@24630" type="CollisionShape3D" parent="Plane"]
shape = SubResource("ConvexPolygonShape3D_e40m1")
[node name="@CollisionShape3D@24629" type="CollisionShape3D" parent="Plane"]
shape = SubResource("ConvexPolygonShape3D_ahw13")
[node name="@CollisionShape3D@24628" type="CollisionShape3D" parent="Plane"]
shape = SubResource("ConvexPolygonShape3D_v125o")
[node name="@CollisionShape3D@24627" type="CollisionShape3D" parent="Plane"]
shape = SubResource("ConvexPolygonShape3D_eplg0")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Plane"]
shape = SubResource("ConvexPolygonShape3D_tmnsn")
[node name="HUD" type="Camera3D" parent="Plane"]
transform = Transform3D(1, -3.18388e-16, 3.4746e-16, 3.4746e-16, 0.996195, -0.0871557, -3.18388e-16, 0.0871557, 0.996195, 2.08165e-12, 50, 80)