project_teddy/scenes/AI.tscn

53 lines
1.8 KiB
Text
Raw Normal View History

2023-05-19 12:56:34 -06:00
[gd_scene load_steps=6 format=3 uid="uid://y3fffh5cdbks"]
2023-02-07 13:22:31 -07:00
[ext_resource type="Script" path="res://scripts/AI.gd" id="1_1d27o"]
2023-03-19 01:35:35 -06:00
[ext_resource type="PackedScene" uid="uid://b3l10agcjfgdx" path="res://characters/teddy/model_glb/teddy.glb" id="2_0yvds"]
2023-05-19 12:56:34 -06:00
[ext_resource type="ArrayMesh" uid="uid://b26a54y2fd5n8" path="res://characters/teddy/cotton/cotton.obj" id="3_qolnj"]
2023-02-07 13:22:31 -07:00
[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)
2023-03-19 01:35:35 -06:00
[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)
2023-02-07 13:22:31 -07:00
[node name="MeshInstance3D" type="MeshInstance3D" parent="CollisionShape3D"]
2023-03-19 01:35:35 -06:00
visible = false
2023-02-07 13:22:31 -07:00
mesh = SubResource("CapsuleMesh_ucocb")
skeleton = NodePath("")
2023-02-22 21:31:22 -07:00
[node name="sound" type="AudioStreamPlayer3D" parent="."]
2023-05-19 12:56:34 -06:00
[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