59 lines
2.0 KiB
Plaintext
59 lines
2.0 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://ctgbbvgfnocql"]
|
|
|
|
[ext_resource type="Script" path="res://player3d.gd" id="1_8eds3"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_vyj2w"]
|
|
size = Vector3(1, 2, 1)
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_8g2hv"]
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_1k7yw"]
|
|
radius = 0.175
|
|
height = 1.25
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_1okp8"]
|
|
radius = 0.25
|
|
|
|
[node name="Player" type="CharacterBody3D"]
|
|
script = ExtResource("1_8eds3")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = SubResource("BoxShape3D_vyj2w")
|
|
|
|
[node name="Torso" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
mesh = SubResource("CapsuleMesh_8g2hv")
|
|
|
|
[node name="LeftArm" type="Node3D" parent="Torso"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0.2, 0)
|
|
|
|
[node name="Arm" type="MeshInstance3D" parent="Torso/LeftArm"]
|
|
transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, -0.4, 0, 0)
|
|
mesh = SubResource("CapsuleMesh_1k7yw")
|
|
skeleton = NodePath("../../..")
|
|
|
|
[node name="LeftHand" type="StaticBody3D" parent="Torso/LeftArm"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 0)
|
|
collision_layer = 2
|
|
collision_mask = 2
|
|
|
|
[node name="LeftHand" type="CollisionShape3D" parent="Torso/LeftArm/LeftHand"]
|
|
shape = SubResource("SphereShape3D_1okp8")
|
|
|
|
[node name="RightArm" type="Node3D" parent="Torso"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0.2, 0)
|
|
|
|
[node name="Arm" type="MeshInstance3D" parent="Torso/RightArm"]
|
|
transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0.4, 0, 0)
|
|
mesh = SubResource("CapsuleMesh_1k7yw")
|
|
skeleton = NodePath("../../..")
|
|
|
|
[node name="Hand" type="StaticBody3D" parent="Torso/RightArm"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0)
|
|
collision_layer = 2
|
|
collision_mask = 2
|
|
|
|
[node name="Hand" type="CollisionShape3D" parent="Torso/RightArm/Hand"]
|
|
shape = SubResource("SphereShape3D_1okp8")
|