52 lines
1.8 KiB
Text
52 lines
1.8 KiB
Text
[gd_scene load_steps=6 format=3 uid="uid://y3fffh5cdbks"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/AI.gd" id="1_1d27o"]
|
|
[ext_resource type="PackedScene" uid="uid://b3l10agcjfgdx" path="res://characters/teddy/model_glb/teddy.glb" id="2_0yvds"]
|
|
[ext_resource type="ArrayMesh" uid="uid://b26a54y2fd5n8" path="res://characters/teddy/cotton/cotton.obj" id="3_qolnj"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_7vhwh"]
|
|
size = Vector3(1, 1.99126, 1)
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_ucocb"]
|
|
|
|
[node name="AI" type="CharacterBody3D" groups=["AI"]]
|
|
script = ExtResource("1_1d27o")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("BoxShape3D_7vhwh")
|
|
|
|
[node name="Neck" type="Node3D" parent="CollisionShape3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.859224, 0)
|
|
|
|
[node name="BulletGenerator" type="Marker3D" parent="CollisionShape3D/Neck"]
|
|
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_0yvds")]
|
|
transform = Transform3D(-0.307416, 0, -2.68751e-08, 0, 0.307416, 0, 2.68751e-08, 0, -0.307416, 0, -1.87988, 0)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="CollisionShape3D"]
|
|
visible = false
|
|
mesh = SubResource("CapsuleMesh_ucocb")
|
|
skeleton = NodePath("")
|
|
|
|
[node name="sound" type="AudioStreamPlayer3D" parent="."]
|
|
|
|
[node name="CPUParticles3D" type="CPUParticles3D" parent="."]
|
|
emitting = false
|
|
amount = 3
|
|
mesh = ExtResource("3_qolnj")
|
|
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
|