58 lines
2.4 KiB
Plaintext
58 lines
2.4 KiB
Plaintext
[gd_scene load_steps=9 format=2]
|
|
|
|
[ext_resource path="res://BodyParts/PushingBodyPart.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://BodyParts/HumanLeg.gd" type="Script" id=2]
|
|
[ext_resource path="res://3D Input/Fertige GLBs/Bein_Mensch.glb" type="PackedScene" id=3]
|
|
[ext_resource path="res://3D Input/beinimage.png" type="Texture" id=4]
|
|
[ext_resource path="res://Audio/punch_sound.wav" type="AudioStream" id=5]
|
|
|
|
[sub_resource type="BoxShape" id=1]
|
|
extents = Vector3( 0.666, 2.5097, 1.57924 )
|
|
|
|
[sub_resource type="SphereShape" id=2]
|
|
radius = 0.108468
|
|
|
|
[sub_resource type="SpatialMaterial" id=3]
|
|
albedo_texture = ExtResource( 4 )
|
|
|
|
[node name="HumanLeg" instance=ExtResource( 1 )]
|
|
transform = Transform( 1, 8.74228e-08, -3.82137e-15, 0, -4.37114e-08, -1, -8.74228e-08, 1, -4.37114e-08, 0, 0, 0 )
|
|
script = ExtResource( 2 )
|
|
cost = 20.0
|
|
damage = 8.0
|
|
|
|
[node name="PartCollider" parent="." index="0"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.37252, -0.326758 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="TouchArea" parent="." index="1"]
|
|
transform = Transform( 3.95756, 9.05942e-13, -4.54747e-13, -1.33582e-12, -0.554944, -3.91846, 1.57933e-13, 3.91846, -0.554943, -1.3074e-12, -5.3019, -1.33665 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="TouchArea" index="0"]
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="Mesh" parent="." index="2" instance=ExtResource( 3 )]
|
|
transform = Transform( 2, 0, 0, 0, 2, 0, 0, 0, 2, -2.84217e-14, -4.37555, -0.0490953 )
|
|
|
|
[node name="Armature" parent="Mesh" index="2"]
|
|
transform = Transform( 1.97878, 0, 0, 0, -1.97636, 0.0978612, 8.47033e-22, -0.0978612, -1.97636, -1.33227e-14, 2.34477, 0.0119585 )
|
|
|
|
[node name="Cube" parent="Mesh/Armature/Skeleton" index="0"]
|
|
transform = Transform( 1, 0, -8.88178e-16, -1.42109e-14, 1, -2.23517e-08, 4.44089e-16, 2.23517e-08, 1, 0, 0, 0 )
|
|
material/0 = SubResource( 3 )
|
|
|
|
[node name="BoneAttachment" type="BoneAttachment" parent="Mesh/Armature/Skeleton" index="1"]
|
|
transform = Transform( 1, 2.27374e-13, -1.13687e-13, 3.41061e-13, 0.0910855, 0.995843, -5.68434e-14, -0.995843, 0.0910852, -3.3393e-13, 1.43368, 0.260799 )
|
|
bone_name = "bone_2"
|
|
|
|
[node name="RemoteTransform" type="RemoteTransform" parent="Mesh/Armature/Skeleton/BoneAttachment" index="0"]
|
|
remote_path = NodePath("../../../../../TouchArea")
|
|
|
|
[node name="ActionSound" parent="." index="3"]
|
|
unit_db = 0.0
|
|
|
|
[node name="PushSound" parent="." index="4"]
|
|
stream = ExtResource( 5 )
|
|
|
|
[editable path="Mesh"]
|