immersive-home/app/content/entities/camera/camera.tscn

41 lines
1.5 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=7 format=3 uid="uid://b0nq4wjfckxsa"]
2023-12-10 00:47:17 +02:00
[ext_resource type="Script" path="res://content/entities/camera/camera.gd" id="1_htxq3"]
[ext_resource type="Script" path="res://content/functions/movable.gd" id="2_e2u6o"]
2024-05-27 13:30:43 +03:00
[ext_resource type="Script" path="res://content/functions/camera_follower.gd" id="3_j7lrc"]
[ext_resource type="PackedScene" uid="uid://dejilst6cwqvi" path="res://content/entities/camera/settings.tscn" id="3_qlnvv"]
2023-12-10 00:47:17 +02:00
2023-12-10 02:47:21 +02:00
[sub_resource type="QuadMesh" id="QuadMesh_830bv"]
size = Vector2(0.15, 0.15)
2023-12-10 00:47:17 +02:00
[sub_resource type="BoxShape3D" id="BoxShape3D_te0pn"]
size = Vector3(0.15, 0.15, 0.01)
[node name="Camera" type="StaticBody3D"]
2023-12-10 00:47:17 +02:00
script = ExtResource("1_htxq3")
[node name="View" type="Sprite3D" parent="."]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
2023-12-10 02:47:21 +02:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.00451169)
mesh = SubResource("QuadMesh_830bv")
2023-12-10 00:47:17 +02:00
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_te0pn")
[node name="HTTPRequest" type="HTTPRequest" parent="."]
[node name="Movable" type="Node" parent="."]
script = ExtResource("2_e2u6o")
2024-05-01 18:42:38 +03:00
resizable = true
2024-05-27 13:35:43 +03:00
[node name="CameraFollower" type="Node" parent="." node_paths=PackedStringArray("focus_point")]
2024-05-27 13:30:43 +03:00
script = ExtResource("3_j7lrc")
2024-05-27 13:35:43 +03:00
focus_point = NodePath("../Settings")
2024-05-27 13:30:43 +03:00
[node name="RefreshTimer" type="Timer" parent="."]
wait_time = 0.1
2024-05-27 13:30:43 +03:00
[node name="Settings" parent="." instance=ExtResource("3_qlnvv")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.24, 0, 0)