-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMob.tscn
29 lines (21 loc) · 1.12 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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Mob.gd" type="Script" id=1]
[ext_resource path="res://art/mob.glb" type="PackedScene" id=2]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 1, 0.527883, 1 )
[node name="Mob" type="KinematicBody" groups=["mob"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.239601, 0 )
collision_layer = 2
collision_mask = 0
script = ExtResource( 1 )
[node name="Pivot" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0166353, 0 )
[node name="mob" parent="Pivot" instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.37861, 0 )
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.55482, 0 )
shape = SubResource( 1 )
[node name="VisibilityNotifier" type="VisibilityNotifier" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0157092, 2.51003, 0.237126 )
aabb = AABB( -1.13557, -0.457438, -1.66394, 2.39614, 0.983236, 3.23608 )
[connection signal="screen_exited" from="VisibilityNotifier" to="." method="_on_VisibilityNotifier_screen_exited"]