mirror of
https://github.com/Steffo99/pineapple-surf.git
synced 2024-11-25 09:14:18 +00:00
Create standalone scenes from island meshes
This commit is contained in:
parent
32d13cb2fb
commit
1ec5b9ca98
5 changed files with 84 additions and 25 deletions
16
island/HillMesh.tscn
Normal file
16
island/HillMesh.tscn
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
15
island/IslandMesh.tscn
Normal file
15
island/IslandMesh.tscn
Normal file
File diff suppressed because one or more lines are too long
16
island/PyramidSmallMesh.tscn
Normal file
16
island/PyramidSmallMesh.tscn
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
[gd_scene load_steps=3 format=3 uid="uid://cxa5irr1atgke"]
|
||||||
|
|
||||||
|
[ext_resource type="ArrayMesh" uid="uid://bsv0f7c8nev8x" path="res://assets/island_model/pyramid_small.obj" id="1_0a7e0"]
|
||||||
|
|
||||||
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_emoh5"]
|
||||||
|
data = PackedVector3Array(1, 1, -1, 0, 0, 0, 0, 0, -1, 1, 0, 0, 0, 0, 0, 1, 1, -1, 1, 1, -1, 0, 0, -1, 0, 0, -2, 1, 1, -2, 1, 1, -1, 0, 0, -2, 1, 1, -2, 0, 0, -2, 0, 0, -3, 1, 0, -3, 1, 1, -2, 0, 0, -3, 2, 1, -2, 1, 1, -2, 1, 0, -3, 2, 0, -3, 2, 1, -2, 1, 0, -3, 3, 0, -1, 2, 1, -1, 2, 1, -2, 3, 0, -2, 3, 0, -1, 2, 1, -2, 2, 0, 0, 1, 0, 0, 1, 1, -1, 2, 1, -1, 2, 0, 0, 1, 1, -1, 3, 0, 0, 2, 0, 0, 2, 1, -1, 3, 0, -1, 3, 0, 0, 2, 1, -1, 3, 0, -3, 2, 1, -2, 2, 0, -3, 3, 0, -2, 2, 1, -2, 3, 0, -3, 2, 1, -2, 1, 1, -1, 1, 1, -2, 2, 1, -1, 1, 1, -1, 2, 1, -2)
|
||||||
|
|
||||||
|
[node name="PyramidSmallMesh" type="MeshInstance3D"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, 31)
|
||||||
|
mesh = ExtResource("1_0a7e0")
|
||||||
|
skeleton = NodePath("../..")
|
||||||
|
|
||||||
|
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||||
|
shape = SubResource("ConcavePolygonShape3D_emoh5")
|
16
island/PyramidSmolMesh.tscn
Normal file
16
island/PyramidSmolMesh.tscn
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
[gd_scene load_steps=3 format=3 uid="uid://bknwefv5ycc3u"]
|
||||||
|
|
||||||
|
[ext_resource type="ArrayMesh" uid="uid://c4ksctluio751" path="res://assets/island_model/pyramid_smol.obj" id="1_ceki5"]
|
||||||
|
|
||||||
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_lnxpp"]
|
||||||
|
data = PackedVector3Array(0, 1, 0, -1, 0, 0, -1, 0, -1, 0, 0, -1, 0, 1, 0, -1, 0, -1, 0, 1, 0, -1, 0, 1, -1, 0, 0, 0, 0, 1, -1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, -1, 0, 1, 0, 0, 0, -1, 1, 0, 0, 0, 1, 0, 1, 0, -1)
|
||||||
|
|
||||||
|
[node name="PyramidSmolMesh" type="MeshInstance3D"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -21, 0, 30)
|
||||||
|
mesh = ExtResource("1_ceki5")
|
||||||
|
skeleton = NodePath("../..")
|
||||||
|
|
||||||
|
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||||
|
shape = SubResource("ConcavePolygonShape3D_lnxpp")
|
Loading…
Reference in a new issue