31 lines
1.3 KiB
Text
31 lines
1.3 KiB
Text
[gd_scene load_steps=5 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"]
|
|
|
|
[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="."]
|