mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-20 21:07:17 +01:00
Make legs a scene.
This commit is contained in:
parent
1c70710283
commit
426751378f
26
game/models/entities/spider/Legs.tscn
Normal file
26
game/models/entities/spider/Legs.tscn
Normal file
@ -0,0 +1,26 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://models/entities/spider/spider_base_chitin_albedo.png" type="Texture" id=1]
|
||||
[ext_resource path="res://models/entities/spider/lower_leg.tres" type="MeshDataResource" id=2]
|
||||
[ext_resource path="res://models/entities/spider/upper_leg.tres" type="MeshDataResource" id=3]
|
||||
|
||||
[sub_resource type="SpatialMaterial" id=1]
|
||||
flags_vertex_lighting = true
|
||||
albedo_texture = ExtResource( 1 )
|
||||
|
||||
[node name="Legs" type="Spatial"]
|
||||
|
||||
[node name="UpperLeg2" type="MeshDataInstance" parent="."]
|
||||
transform = Transform( -0.347689, 0.93761, 0, -0.93761, -0.347689, 0, 0, 0, 1, -0.003, -0.022, 0 )
|
||||
mesh_data = ExtResource( 3 )
|
||||
texture = ExtResource( 1 )
|
||||
material = SubResource( 1 )
|
||||
|
||||
[node name="LowerLegs" type="Spatial" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.503581, -0.206726, 0 )
|
||||
|
||||
[node name="LowerLeg7" type="MeshDataInstance" parent="LowerLegs"]
|
||||
transform = Transform( -0.832825, 0.553537, 0, -0.553537, -0.832825, 0, 0, 0, 1, 0.01, 0, 0 )
|
||||
mesh_data = ExtResource( 2 )
|
||||
texture = ExtResource( 1 )
|
||||
material = SubResource( 1 )
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=15 format=2]
|
||||
[gd_scene load_steps=17 format=2]
|
||||
|
||||
[ext_resource path="res://models/entities/spider/lower_leg.tres" type="MeshDataResource" id=1]
|
||||
[ext_resource path="res://models/entities/spider/spider_base_chitin_albedo.png" type="Texture" id=2]
|
||||
@ -10,6 +10,8 @@
|
||||
[ext_resource path="res://models/entities/spider/head.tres" type="MeshDataResource" id=8]
|
||||
[ext_resource path="res://models/entities/spider/thorax.tres" type="MeshDataResource" id=9]
|
||||
[ext_resource path="res://models/entities/spider/abdomen.tres" type="MeshDataResource" id=10]
|
||||
[ext_resource path="res://models/entities/spider/leg_thorax.tres" type="MeshDataResource" id=11]
|
||||
[ext_resource path="res://models/entities/spider/Legs.tscn" type="PackedScene" id=12]
|
||||
|
||||
[sub_resource type="SpatialMaterial" id=1]
|
||||
flags_vertex_lighting = true
|
||||
@ -40,6 +42,12 @@ mesh_data = ExtResource( 3 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
|
||||
[node name="LegThorax" type="MeshDataInstance" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 3.84727 )
|
||||
mesh_data = ExtResource( 11 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
|
||||
[node name="Abdomen" type="MeshDataInstance" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.20021, 0, 1.72042 )
|
||||
mesh_data = ExtResource( 10 )
|
||||
@ -85,7 +93,7 @@ __meta__ = {
|
||||
}
|
||||
|
||||
[node name="Torso" type="Spatial" parent="FullPreview"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.609828, 0 )
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.595369, 0 )
|
||||
|
||||
[node name="Abdomen" type="MeshDataInstance" parent="FullPreview/Torso"]
|
||||
transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, -0.231096 )
|
||||
@ -105,149 +113,29 @@ mesh_data = ExtResource( 8 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
|
||||
[node name="LegsLeftBack" type="Spatial" parent="FullPreview"]
|
||||
transform = Transform( 0.853778, 0, 0.520637, 0, 1, 0, -0.520637, 0, 0.853778, 0.178, 0.64, -0.166827 )
|
||||
[node name="LegsLeftBack" parent="FullPreview" instance=ExtResource( 12 )]
|
||||
transform = Transform( 0.853778, 0, 0.520637, 0, 1, 0, -0.520637, 0, 0.853778, 0.201448, 0.64, -0.166827 )
|
||||
|
||||
[node name="UpperLeg2" type="MeshDataInstance" parent="FullPreview/LegsLeftBack"]
|
||||
transform = Transform( -0.347689, 0.93761, 0, -0.93761, -0.347689, 0, 0, 0, 1, -0.003, -0.022, 0 )
|
||||
mesh_data = ExtResource( 3 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
[node name="LegsLeftMid" parent="FullPreview" instance=ExtResource( 12 )]
|
||||
transform = Transform( 0.977849, 0, 0.209311, 0, 1, 0, -0.209311, 0, 0.977849, 0.201728, 0.640268, -0.0524873 )
|
||||
|
||||
[node name="LowerLegs" type="Spatial" parent="FullPreview/LegsLeftBack"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.503581, -0.206726, 0 )
|
||||
[node name="LegsLeftMid2" parent="FullPreview" instance=ExtResource( 12 )]
|
||||
transform = Transform( 0.970321, 0, -0.24182, 0, 1, 0, 0.24182, 0, 0.970321, 0.201728, 0.640268, 0.064917 )
|
||||
|
||||
[node name="LowerLeg7" type="MeshDataInstance" parent="FullPreview/LegsLeftBack/LowerLegs"]
|
||||
transform = Transform( -0.832825, 0.553537, 0, -0.553537, -0.832825, 0, 0, 0, 1, 0.01, 0, 0 )
|
||||
mesh_data = ExtResource( 1 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
[node name="LegsLeftFront" parent="FullPreview" instance=ExtResource( 12 )]
|
||||
transform = Transform( 0.755854, 0, -0.654741, 0, 1, 0, 0.654741, 0, 0.755854, 0.189553, 0.64, 0.168087 )
|
||||
|
||||
[node name="LegsLeftMid" type="Spatial" parent="FullPreview"]
|
||||
transform = Transform( 0.977849, 0, 0.209311, 0, 1, 0, -0.209311, 0, 0.977849, 0.17828, 0.640268, -0.0524873 )
|
||||
[node name="LegsRightBack" parent="FullPreview" instance=ExtResource( 12 )]
|
||||
transform = Transform( -0.844019, 0, 0.536313, 0, 1, 0, -0.536313, 0, -0.844019, -0.188771, 0.621, -0.157888 )
|
||||
|
||||
[node name="UpperLeg3" type="MeshDataInstance" parent="FullPreview/LegsLeftMid"]
|
||||
transform = Transform( -0.347689, 0.93761, 0, -0.93761, -0.347689, 0, 0, 0, 1, -0.00337267, -0.0222741, 0.0126154 )
|
||||
mesh_data = ExtResource( 3 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
[node name="LegsRightMid" parent="FullPreview" instance=ExtResource( 12 )]
|
||||
transform = Transform( -0.978216, 0, 0.207587, 0, 1, 0, -0.207587, 0, -0.978216, -0.204, 0.621, -0.032139 )
|
||||
|
||||
[node name="LowerLegs" type="Spatial" parent="FullPreview/LegsLeftMid"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.503581, -0.206726, 0 )
|
||||
[node name="LegsRightMid2" parent="FullPreview" instance=ExtResource( 12 )]
|
||||
transform = Transform( -0.986951, 0, -0.161018, 0, 1, 0, 0.161018, 0, -0.986951, -0.204, 0.621, 0.0811554 )
|
||||
|
||||
[node name="LowerLeg6" type="MeshDataInstance" parent="FullPreview/LegsLeftMid/LowerLegs"]
|
||||
transform = Transform( -0.832825, 0.553537, 0, -0.553537, -0.832825, 0, 0, 0, 1, 0.0101099, -0.000204921, 0.0172505 )
|
||||
mesh_data = ExtResource( 1 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
|
||||
[node name="LegsLeftMid2" type="Spatial" parent="FullPreview"]
|
||||
transform = Transform( 0.970321, 0, -0.24182, 0, 1, 0, 0.24182, 0, 0.970321, 0.17828, 0.640268, 0.064917 )
|
||||
|
||||
[node name="UpperLeg3" type="MeshDataInstance" parent="FullPreview/LegsLeftMid2"]
|
||||
transform = Transform( -0.347689, 0.93761, 0, -0.93761, -0.347689, 0, 0, 0, 1, -0.00337267, -0.0222741, 0.0126154 )
|
||||
mesh_data = ExtResource( 3 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
|
||||
[node name="LowerLegs" type="Spatial" parent="FullPreview/LegsLeftMid2"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.503581, -0.206726, 0 )
|
||||
|
||||
[node name="LowerLeg6" type="MeshDataInstance" parent="FullPreview/LegsLeftMid2/LowerLegs"]
|
||||
transform = Transform( -0.832825, 0.553537, 0, -0.553537, -0.832825, 0, 0, 0, 1, 0.0101099, -0.000204921, 0.0172505 )
|
||||
mesh_data = ExtResource( 1 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
|
||||
[node name="LegsLeftFront" type="Spatial" parent="FullPreview"]
|
||||
transform = Transform( 0.755854, 0, -0.654741, 0, 1, 0, 0.654741, 0, 0.755854, 0.166105, 0.64, 0.168087 )
|
||||
|
||||
[node name="UpperLeg4" type="MeshDataInstance" parent="FullPreview/LegsLeftFront"]
|
||||
transform = Transform( -0.347689, 0.93761, 0, -0.93761, -0.347689, 0, 0, 0, 1, -0.003, -0.022, 0 )
|
||||
mesh_data = ExtResource( 3 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
|
||||
[node name="LowerLegs" type="Spatial" parent="FullPreview/LegsLeftFront"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.503581, -0.206726, 0 )
|
||||
|
||||
[node name="LowerLeg5" type="MeshDataInstance" parent="FullPreview/LegsLeftFront/LowerLegs"]
|
||||
transform = Transform( -0.832825, 0.553537, 0, -0.553537, -0.832825, 0, 0, 0, 1, 0.01, 0, 0 )
|
||||
mesh_data = ExtResource( 1 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
|
||||
[node name="LegsRightBack" type="Spatial" parent="FullPreview"]
|
||||
transform = Transform( 0.843972, 0, -0.536387, 0, 1, 0, 0.536387, 0, 0.843972, -0.188771, 0.621, -0.157888 )
|
||||
|
||||
[node name="UpperLeg7" type="MeshDataInstance" parent="FullPreview/LegsRightBack"]
|
||||
transform = Transform( -0.385294, -0.922794, 0, 0.922794, -0.385294, 0, 0, 0, 1, -0.008, -0.009, 0 )
|
||||
mesh_data = ExtResource( 3 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
|
||||
[node name="LowerLegs" type="Spatial" parent="FullPreview/LegsRightBack"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.558352, -0.233083, 0 )
|
||||
|
||||
[node name="LowerLeg2" type="MeshDataInstance" parent="FullPreview/LegsRightBack/LowerLegs"]
|
||||
transform = Transform( -0.831954, -0.554844, 0, 0.554844, -0.831954, 0, 0, 0, 1, 0.026, 0.045, 0 )
|
||||
mesh_data = ExtResource( 1 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
|
||||
[node name="LegsRightMid" type="Spatial" parent="FullPreview"]
|
||||
transform = Transform( 0.978216, 0, -0.207587, 0, 1, 0, 0.207587, 0, 0.978216, -0.204, 0.621, -0.032139 )
|
||||
|
||||
[node name="UpperLeg6" type="MeshDataInstance" parent="FullPreview/LegsRightMid"]
|
||||
transform = Transform( -0.385294, -0.922794, 0, 0.922794, -0.385294, 0, 0, 0, 1, -0.00836056, -0.00902534, -0.0215956 )
|
||||
mesh_data = ExtResource( 3 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
|
||||
[node name="LowerLegs" type="Spatial" parent="FullPreview/LegsRightMid"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.558352, -0.233083, 0 )
|
||||
|
||||
[node name="LowerLeg3" type="MeshDataInstance" parent="FullPreview/LegsRightMid/LowerLegs"]
|
||||
transform = Transform( -0.831954, -0.554844, 0, 0.554844, -0.831954, 0, 0, 0, 1, 0.0255845, 0.044978, -0.0235229 )
|
||||
mesh_data = ExtResource( 1 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
|
||||
[node name="LegsRightMid2" type="Spatial" parent="FullPreview"]
|
||||
transform = Transform( 0.986951, 0, 0.161018, 0, 1, 0, -0.161018, 0, 0.986951, -0.204, 0.621, 0.0811554 )
|
||||
|
||||
[node name="UpperLeg6" type="MeshDataInstance" parent="FullPreview/LegsRightMid2"]
|
||||
transform = Transform( -0.385294, -0.922794, 0, 0.922794, -0.385294, 0, 0, 0, 1, -0.00836056, -0.00902534, -0.0215956 )
|
||||
mesh_data = ExtResource( 3 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
|
||||
[node name="LowerLegs" type="Spatial" parent="FullPreview/LegsRightMid2"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.558352, -0.233083, 0 )
|
||||
|
||||
[node name="LowerLeg3" type="MeshDataInstance" parent="FullPreview/LegsRightMid2/LowerLegs"]
|
||||
transform = Transform( -0.831954, -0.554844, 0, 0.554844, -0.831954, 0, 0, 0, 1, 0.0255845, 0.044978, -0.0235229 )
|
||||
mesh_data = ExtResource( 1 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
|
||||
[node name="LegsRightFront" type="Spatial" parent="FullPreview"]
|
||||
transform = Transform( 0.735754, 0, 0.677248, 0, 1, 0, -0.677248, 0, 0.735754, -0.204, 0.621, 0.138077 )
|
||||
|
||||
[node name="UpperLeg5" type="MeshDataInstance" parent="FullPreview/LegsRightFront"]
|
||||
transform = Transform( -0.346936, -0.937889, 0, 0.937889, -0.346936, 0, 0, 0, 1, -0.008, -0.009, 0 )
|
||||
mesh_data = ExtResource( 3 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
|
||||
[node name="LowerLegs" type="Spatial" parent="FullPreview/LegsRightFront"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.558352, -0.233083, 0 )
|
||||
|
||||
[node name="LowerLeg4" type="MeshDataInstance" parent="FullPreview/LegsRightFront/LowerLegs"]
|
||||
transform = Transform( -0.831954, -0.554844, 0, 0.554844, -0.831954, 0, 0, 0, 1, 0.026, 0.045, 0 )
|
||||
mesh_data = ExtResource( 1 )
|
||||
texture = ExtResource( 2 )
|
||||
material = SubResource( 1 )
|
||||
[node name="LegsRightFront" parent="FullPreview" instance=ExtResource( 12 )]
|
||||
transform = Transform( -0.735754, 0, -0.677249, 0, 1, 0, 0.677249, 0, -0.735754, -0.204, 0.621, 0.138077 )
|
||||
|
||||
[node name="MeshInstance" type="MeshInstance" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.45079, 0.5, -5.56819 )
|
||||
|
6
game/models/entities/spider/leg_thorax.tres
Normal file
6
game/models/entities/spider/leg_thorax.tres
Normal file
@ -0,0 +1,6 @@
|
||||
[gd_resource type="MeshDataResource" format=2]
|
||||
|
||||
[resource]
|
||||
array = [ PoolVector3Array( -0.0477142, -0.00357122, 0.0517499, -0.0477142, 0.581429, 0.0517499, 0.0557858, 0.581429, 0.0517499, 0.0557858, -0.00357122, 0.0517499, -0.0477142, -0.00357122, -0.0517499, -0.0477142, 0.581429, -0.0517499, 0.0557858, 0.581429, -0.0517499, 0.0557858, -0.00357122, -0.0517499, -0.0477142, 0.581429, 0.0517499, 0.0557858, 0.581429, 0.0517499, 0.0557858, 0.581429, 0.0517499, -0.0477142, 0.581429, -0.0517499, 0.0557858, 0.581429, -0.0517499, 0.0557858, 0.581429, -0.0517499 ), PoolVector3Array( 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1 ), null, null, PoolVector2Array( 0.544258, 0.5, 0.986842, 0.5, 0.986842, 0.58114, 0.544258, 0.58114, 0.455742, 0.5, 0.0131579, 0.5, 0.0131579, 0.58114, 0.455742, 0.58114, 0.544259, 0.0942983, 0.544258, 0.986842, 0.544258, 0.013158, 0.455742, 0.0942983, 0.455742, 0.986842, 0.455742, 0.0131579 ), null, null, null, PoolIntArray( 0, 1, 2, 2, 3, 0, 4, 6, 5, 4, 7, 6, 3, 9, 12, 12, 7, 3, 0, 11, 8, 0, 4, 11, 8, 11, 13, 13, 10, 8, 0, 7, 4, 0, 3, 7 ) ]
|
||||
aabb = AABB( -0.0477142, -0.00357122, 0, 0.1035, 0.585, 0 )
|
||||
seams = PoolIntArray( 2, 6, 2, 3, 6, 7, 4, 5, 0, 1, 5, 6, 1, 2 )
|
Loading…
Reference in New Issue
Block a user