47 lines
1.9 KiB
Plaintext
47 lines
1.9 KiB
Plaintext
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://BodyParts/PushingBodyPart.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://BodyParts/HumanArm.gd" type="Script" id=2]
|
|
[ext_resource path="res://Audio/punch_sound.wav" type="AudioStream" id=3]
|
|
[ext_resource path="res://3D Input/Fertige GLBs/Arm_Mensch.glb" type="PackedScene" id=4]
|
|
|
|
[sub_resource type="BoxShape" id=1]
|
|
extents = Vector3( 0.533899, 0.405119, 2.17243 )
|
|
|
|
[sub_resource type="SphereShape" id=2]
|
|
radius = 0.101154
|
|
|
|
[node name="HumanArm" instance=ExtResource( 1 )]
|
|
transform = Transform( -9.33901e-08, 1, 6.32685e-08, 0.419008, -1.83154e-08, 0.907982, 0.907982, 1.11307e-07, -0.419008, 0, 0, 0 )
|
|
script = ExtResource( 2 )
|
|
cost = 10.0
|
|
damage = 5.0
|
|
|
|
[node name="PartCollider" parent="." index="0"]
|
|
transform = Transform( 0.796097, 0.0325159, -0.604295, 0, 0.998555, 0.0537302, 0.605169, -0.0427745, 0.794947, -0.893398, -0.0369669, -2.62016 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="TouchArea" parent="." index="1"]
|
|
transform = Transform( -0.118288, 2.18551, 2.52493, -3.31556, -0.378316, 0.172131, 0.398447, -2.49922, 2.18193, -0.025574, -0.127111, -3.79535 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="TouchArea" index="0"]
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="Mesh" parent="." index="2" instance=ExtResource( 4 )]
|
|
transform = Transform( 2, 0, 0, 0, 2, 0, 0, 0, 2, -0.357728, -8.51476, 0 )
|
|
|
|
[node name="BoneAttachment" type="BoneAttachment" parent="Mesh/Armature/Skeleton" index="1"]
|
|
transform = Transform( 0.0646207, -0.736312, -0.673549, -0.240426, 0.64359, -0.726627, 0.968514, 0.208894, -0.135439, 0.054756, 1.13784, 0.129916 )
|
|
bone_name = "bone_6"
|
|
|
|
[node name="RemoteTransform" type="RemoteTransform" parent="Mesh/Armature/Skeleton/BoneAttachment" index="0"]
|
|
remote_path = NodePath("../../../../../TouchArea")
|
|
|
|
[node name="AnimationPlayer" parent="Mesh" index="2"]
|
|
playback_speed = 3.0
|
|
|
|
[node name="PushSound" parent="." index="4"]
|
|
stream = ExtResource( 3 )
|
|
|
|
[editable path="Mesh"]
|