human head cost

This commit is contained in:
Ententerminator 2020-02-02 16:31:45 +01:00
parent 674fea7203
commit b8cbe8a012

View File

@ -4,26 +4,28 @@
[ext_resource path="res://3D Input/Fertige GLBs/Kopf_Mensch.glb" type="PackedScene" id=2]
[ext_resource path="res://BodyParts/HumanHead.gd" type="Script" id=3]
[sub_resource type="SphereShape" id=3]
[sub_resource type="SphereShape" id=1]
radius = 0.600362
[sub_resource type="SphereShape" id=1]
[sub_resource type="SphereShape" id=2]
radius = 2.74607
[sub_resource type="SpatialMaterial" id=2]
[sub_resource type="SpatialMaterial" id=3]
[node name="HumanHead" instance=ExtResource( 1 )]
transform = Transform( -3, -9.77524e-07, -4.88762e-07, 4.88762e-07, 7.96295e-14, -3, 9.77524e-07, -3, 7.96295e-14, 0, 0, -1.72516 )
script = ExtResource( 3 )
cost = 10.0
damage = 5.0
[node name="PartCollider" parent="." index="0"]
shape = SubResource( 3 )
shape = SubResource( 1 )
[node name="TouchArea" parent="." index="1"]
transform = Transform( -0.154405, -9.91207e-13, -6.12322e-07, 2.97588e-07, -0.134944, -0.0750402, -5.35145e-07, -0.0750403, 0.134944, 0, 0.372964, 0.00349771 )
transform = Transform( -0.154405, -9.84102e-13, -6.12322e-07, 2.97588e-07, -0.134944, -0.0750402, -5.35145e-07, -0.0750403, 0.134944, 2.84217e-14, 0.372963, 0.00349771 )
[node name="CollisionShape" type="CollisionShape" parent="TouchArea" index="0"]
shape = SubResource( 1 )
shape = SubResource( 2 )
[node name="Mesh" parent="." index="4" instance=ExtResource( 2 )]
@ -31,7 +33,7 @@ shape = SubResource( 1 )
bones/2/bound_children = [ NodePath("BoneAttachment") ]
[node name="HAARE" parent="Mesh/Armature/Skeleton" index="0"]
material/0 = SubResource( 2 )
material/0 = SubResource( 3 )
[node name="BoneAttachment" type="BoneAttachment" parent="Mesh/Armature/Skeleton" index="3"]
transform = Transform( -1, -6.36646e-12, -3.96569e-06, 1.92732e-06, -0.87396, -0.485997, -3.46586e-06, -0.485997, 0.87396, -5.43763e-14, 5.658, 0.029508 )