[gd_scene load_steps=6 format=3 uid="uid://c0buetf2h266d"] [ext_resource type="Material" uid="uid://btpy4dp5lb8il" path="res://resources/materials/test_triplanar.tres" id="1_ixaua"] [ext_resource type="Script" path="res://scripts/camera/following_camera.gd" id="2_7j742"] [ext_resource type="PackedScene" uid="uid://b73y71y3efmv" path="res://scenes/player.tscn" id="2_f4ehn"] [ext_resource type="Script" path="res://scripts/camera/main_camera.gd" id="3_f4hhh"] [sub_resource type="Environment" id="Environment_wctar"] [node name="Test" type="Node"] [node name="Player" parent="." instance=ExtResource("2_f4ehn")] process_priority = 1 process_physics_priority = 1 [node name="Geometry" type="Node" parent="."] [node name="CSGCombiner3D" type="CSGCombiner3D" parent="Geometry"] material_override = ExtResource("1_ixaua") use_collision = true [node name="CSGBox3D" type="CSGBox3D" parent="Geometry/CSGCombiner3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0) size = Vector3(50, 1, 50) [node name="Lights" type="Node" parent="."] [node name="DirectionalLight3D" type="DirectionalLight3D" parent="Lights"] transform = Transform3D(0.994881, 0.0858869, -0.0532522, 0, 0.526956, 0.849893, 0.101056, -0.845542, 0.524258, 0, 0, 0) shadow_enabled = true [node name="Cameras" type="Node" parent="."] [node name="FollowingCamera" type="Camera3D" parent="Cameras"] fov = 20.0 near = 35.0 far = 100.0 script = ExtResource("2_7j742") height_offset = 0.5 distance = 50.0 angle_degrees = Vector3(-35, -45, 0) [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_wctar") [node name="MainCamera" type="Camera3D" parent="." node_paths=PackedStringArray("current_camera")] transform = Transform3D(0.866025, -0.321394, 0.383022, 0, 0.766044, 0.642788, -0.5, -0.55667, 0.663414, 4.894, 6.43, 6.963) script = ExtResource("3_f4hhh") current_camera = NodePath("../Cameras/FollowingCamera")