52 lines
2.2 KiB
Plaintext
52 lines
2.2 KiB
Plaintext
[gd_scene load_steps=8 format=2]
|
|
|
|
[ext_resource path="res://3D Input/Fertige GLBs/Kopf_Huhn.glb" type="PackedScene" id=1]
|
|
[ext_resource path="res://BodyParts/PushingBodyPart.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://3D Input/huhntextur.png" type="Texture" id=3]
|
|
[ext_resource path="res://BodyParts/ChickenHead.gd" type="Script" id=4]
|
|
|
|
[sub_resource type="CapsuleShape" id=1]
|
|
radius = 2.24173
|
|
height = 1.97047
|
|
|
|
[sub_resource type="SphereShape" id=2]
|
|
radius = 1.42519
|
|
|
|
[sub_resource type="SpatialMaterial" id=3]
|
|
albedo_texture = ExtResource( 3 )
|
|
|
|
[node name="PushingBodyPart" instance=ExtResource( 2 )]
|
|
transform = Transform( 1.59259e-14, 9.77524e-08, -0.6, 0.6, -9.77524e-08, 0, -9.77524e-08, -0.6, -9.77524e-08, 0, -1.20668, -0.531835 )
|
|
script = ExtResource( 4 )
|
|
cost = 15.0
|
|
damage = 7.0
|
|
|
|
[node name="PartCollider" parent="." index="0"]
|
|
transform = Transform( 0.915992, 6.53632e-08, -0.401197, 0.401197, -1.49234e-07, 0.915992, 1.42109e-14, -1, -1.62921e-07, 0, 0, 0 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="TouchArea" parent="." index="1"]
|
|
transform = Transform( 0.850008, -0.52677, 6.77808e-09, 0.52677, 0.850008, -6.12467e-09, -2.53513e-09, 8.77651e-09, 1, 0.080676, 1.20809, 0.184276 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="TouchArea" index="0"]
|
|
transform = Transform( 1, -2.22497e-17, 2.22045e-16, -2.22497e-17, 1, 8.88178e-16, -4.44089e-16, -8.88178e-16, 1, 0, 0, 0 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="Mesh" parent="." index="4" instance=ExtResource( 1 )]
|
|
|
|
[node name="Skeleton" parent="Mesh/Armature" index="0"]
|
|
bones/2/bound_children = [ NodePath("BoneAttachment") ]
|
|
|
|
[node name="Sphere" parent="Mesh/Armature/Skeleton" index="0"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.38419e-07, 0 )
|
|
material/0 = SubResource( 3 )
|
|
|
|
[node name="BoneAttachment" type="BoneAttachment" parent="Mesh/Armature/Skeleton" index="1"]
|
|
transform = Transform( 0.850008, -0.52677, 6.77809e-09, 0.52677, 0.850008, -6.12466e-09, -2.53514e-09, 8.7765e-09, 1, -1.2109, 4.72113, 5.44753e-07 )
|
|
bone_name = "end"
|
|
|
|
[node name="RemoteTransform" type="RemoteTransform" parent="Mesh/Armature/Skeleton/BoneAttachment" index="0"]
|
|
remote_path = NodePath("../../../../../TouchArea")
|
|
|
|
[editable path="Mesh"]
|