-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmob.tscn
37 lines (27 loc) · 1.39 KB
/
mob.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[gd_scene load_steps=6 format=3 uid="uid://bwx2mgpue4rdf"]
[ext_resource type="PackedScene" uid="uid://slxepnwa8tyj" path="res://art/mob.glb" id="1_g2k4g"]
[ext_resource type="Script" path="res://mob.gd" id="1_qjcm4"]
[ext_resource type="Animation" uid="uid://cxfi2b7nfp75u" path="res://player-float.tres" id="3_fpmo8"]
[sub_resource type="BoxShape3D" id="BoxShape3D_1hkb3"]
size = Vector3(1.87221, 0.594182, 2.54414)
[sub_resource type="AnimationLibrary" id="AnimationLibrary_n7efh"]
_data = {
"player-float": ExtResource("3_fpmo8")
}
[node name="Mob" type="CharacterBody3D" groups=["mob"]]
collision_layer = 2
collision_mask = 0
script = ExtResource("1_qjcm4")
[node name="Pivot" type="Node3D" parent="."]
[node name="Character" parent="Pivot" instance=ExtResource("1_g2k4g")]
transform = Transform3D(1, 0, 0, 0, 0.987688, 0.156434, 0, -0.156434, 0.987688, 0, 0.35, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.340887, 0.424597)
shape = SubResource("BoxShape3D_1hkb3")
[node name="VisibleOnScreenNotifier3D" type="VisibleOnScreenNotifier3D" parent="."]
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "player-float"
libraries = {
"": SubResource("AnimationLibrary_n7efh")
}
[connection signal="screen_exited" from="VisibleOnScreenNotifier3D" to="." method="_on_visible_on_screen_notifier_3d_screen_exited"]