This repository has been archived by the owner on Jun 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
CameraSystem.tscn
54 lines (40 loc) · 1.67 KB
/
CameraSystem.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[gd_scene load_steps=10 format=2]
[ext_resource path="res://Camera.gd" type="Script" id=1]
[ext_resource path="res://addons/fsm/fsm.gd" type="Script" id=2]
[ext_resource path="res://addons/fsm/icon.png" type="Texture" id=3]
[ext_resource path="res://CameraStates/Open Camera.gd" type="Script" id=4]
[ext_resource path="res://CameraStates/Above Water Camera.gd" type="Script" id=5]
[ext_resource path="res://CameraStates/Door Camera.gd" type="Script" id=6]
[ext_resource path="res://CameraStates/Hanging Camera.gd" type="Script" id=7]
[ext_resource path="res://CameraStates/Star Camera.gd" type="Script" id=8]
[sub_resource type="SphereShape" id=1]
radius = 0.2
[node name="CameraSystem" type="KinematicBody"]
collision_layer = 32
collision_mask = 16
script = ExtResource( 1 )
[node name="Node" type="Node" parent="."]
[node name="Root" type="Spatial" parent="Node"]
[node name="Camera" type="Camera" parent="Node/Root"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.267423 )
current = true
[node name="FSM" type="Node" parent="."]
script = ExtResource( 2 )
__meta__ = {
"_editor_icon": ExtResource( 3 )
}
INIT_STATE = "Open Camera"
PROPERTY_ROOT = "_camera"
[node name="Open Camera" type="Node" parent="FSM"]
script = ExtResource( 4 )
[node name="Above Water Camera" type="Node" parent="FSM"]
script = ExtResource( 5 )
[node name="Door Camera" type="Node" parent="FSM"]
script = ExtResource( 6 )
[node name="Hanging Camera" type="Node" parent="FSM"]
script = ExtResource( 7 )
[node name="Star Camera" type="Node" parent="FSM"]
script = ExtResource( 8 )
[node name="CollisionShape" type="CollisionShape" parent="."]
shape = SubResource( 1 )
[node name="Tween" type="Tween" parent="."]