project_teddy/scenes/Teddy.tscn
2023-05-04 13:35:20 -06:00

67 lines
2.6 KiB
Text

[gd_scene load_steps=8 format=3 uid="uid://dp1q51kvd8uow"]
[ext_resource type="Script" path="res://characters/teddy/Teddy.gd" id="1_ywxo5"]
[ext_resource type="PackedScene" uid="uid://dabv0m7iiccid" path="res://objects/gun/Gun.glb" id="2_gh1pb"]
[ext_resource type="Script" path="res://scripts/nameLabel.gd" id="3_1v4js"]
[ext_resource type="PackedScene" uid="uid://b4eo3c2ux18r1" path="res://characters/teddy/teddy_model.tscn" id="4_q0pxc"]
[ext_resource type="ArrayMesh" uid="uid://b26a54y2fd5n8" path="res://characters/teddy/cotton/cotton.obj" id="4_qbair"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_nrd0x"]
radius = 0.452747
height = 2.18444
[sub_resource type="CapsuleMesh" id="CapsuleMesh_qq44a"]
[node name="Teddy" type="CharacterBody3D" groups=["human"]]
safe_margin = 0.01
script = ExtResource("1_ywxo5")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("CapsuleShape3D_nrd0x")
[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="Gun" parent="CollisionShape3D/Neck/Camera3D" instance=ExtResource("2_gh1pb")]
transform = Transform3D(-0.0344415, 0, 0.422806, 0, 0.424206, 0, -0.422806, 0, -0.0344415, 0.892882, -1.09288, -1.20165)
visible = false
[node name="Teddy" parent="CollisionShape3D/Neck" instance=ExtResource("4_q0pxc")]
transform = Transform3D(-0.328533, 1.14588e-16, -2.87213e-08, 1.14588e-16, 0.328533, -1.14588e-16, 2.87213e-08, -1.14588e-16, -0.328533, 2.08165e-12, -1.87888, 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")
[node name="CPUParticles3D" type="CPUParticles3D" parent="."]
emitting = false
amount = 3
mesh = ExtResource("4_qbair")
emission_shape = 1
emission_sphere_radius = 1.0
particle_flag_rotate_y = true
spread = 4.55
gravity = Vector3(2.08165e-12, -6, 2.08165e-12)
initial_velocity_max = 4.76
angular_velocity_max = 54.86
linear_accel_max = 2.02
radial_accel_max = 4.04
tangential_accel_max = 3.06
damping_max = 3.27
angle_min = 7.3
angle_max = 29.1
scale_amount_min = 0.05
scale_amount_max = 0.1