40 lines
1.7 KiB
Text
40 lines
1.7 KiB
Text
[gd_scene load_steps=6 format=3 uid="uid://dp1q51kvd8uow"]
|
|
|
|
[ext_resource type="Script" path="res://characters/teddy/Teddy.gd" id="1_ywxo5"]
|
|
[ext_resource type="PackedScene" uid="uid://b3l10agcjfgdx" path="res://characters/teddy/model_glb/teddy.glb" id="2_xx41h"]
|
|
[ext_resource type="Script" path="res://scripts/nameLabel.gd" id="3_1v4js"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_rpt2n"]
|
|
size = Vector3(1, 1.99126, 1)
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_qq44a"]
|
|
|
|
[node name="Teddy" type="CharacterBody3D" groups=["human"]]
|
|
safe_margin = 0.1
|
|
script = ExtResource("1_ywxo5")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("BoxShape3D_rpt2n")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="CollisionShape3D"]
|
|
visible = false
|
|
mesh = SubResource("CapsuleMesh_qq44a")
|
|
skeleton = NodePath("../..")
|
|
|
|
[node name="Neck" type="Node3D" parent="CollisionShape3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.859224, 0)
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="CollisionShape3D/Neck"]
|
|
|
|
[node name="BulletGenerator" type="Marker3D" parent="CollisionShape3D/Neck/Camera3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.104801, -0.858231)
|
|
|
|
[node name="Teddy" parent="CollisionShape3D/Neck" instance=ExtResource("2_xx41h")]
|
|
transform = Transform3D(-0.33293, 1.16122e-16, -2.91057e-08, 1.16122e-16, 0.33293, -1.16122e-16, 2.91057e-08, -1.16122e-16, -0.33293, 2.08165e-12, -1.93156, 2.08165e-12)
|
|
|
|
[node name="sound" type="AudioStreamPlayer3D" parent="."]
|
|
|
|
[node name="nameLabel" type="Label3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.60152, 0)
|
|
text = "Un-named Player"
|
|
script = ExtResource("3_1v4js")
|