[gd_scene load_steps=13 format=3 uid="uid://bdhrdhbux7sjg"] [ext_resource type="Script" path="res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd" id="1_lldvu"] [ext_resource type="Script" path="res://addons/phantom_camera/scripts/phantom_camera/phantom_camera_3D.gd" id="2_8md3q"] [ext_resource type="Script" path="res://addons/phantom_camera/examples/scripts/3D/player_controller.gd" id="3_odwso"] [ext_resource type="PackedScene" uid="uid://cixlwqycoox8h" path="res://addons/phantom_camera/examples/models/3DPrototypeCubeDark.tscn" id="4_2i811"] [ext_resource type="Texture2D" uid="uid://c7ja4woxol8yc" path="res://addons/phantom_camera/examples/textures/3D/CheckerPatternDark.png" id="5_u5qhp"] [sub_resource type="CapsuleMesh" id="CapsuleMesh_pda7a"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_u74j7"] albedo_color = Color(0.988235, 0.498039, 0.498039, 1) [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_3xplc"] [sub_resource type="CapsuleMesh" id="CapsuleMesh_2h36r"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_w3olp"] albedo_color = Color(0.227451, 0.337255, 0.576471, 1) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cw102"] albedo_color = Color(0.227451, 0.337255, 0.576471, 1) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_auy8m"] albedo_texture = ExtResource("5_u5qhp") uv1_triplanar = true uv1_world_triplanar = true [node name="Node3D" type="Node3D"] [node name="MainCamera3D" type="Camera3D" parent="."] unique_name_in_owner = true transform = Transform3D(0.999952, -0.00114636, 0.00116873, -5.82049e-11, 0.713788, 0.700216, -0.00163718, -0.700172, 0.713831, -12.3172, 5.78213, 6.64571) [node name="PhantomCameraHost" type="Node" parent="MainCamera3D"] script = ExtResource("1_lldvu") [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 8, 0) metadata/_edit_lock_ = true [node name="Player" type="Node" parent="."] [node name="PlayerPhantomCamera3D" type="Node3D" parent="Player"] unique_name_in_owner = true transform = Transform3D(0.999952, -0.00114636, 0.00116873, 0, 0.713788, 0.700216, -0.00163718, -0.700172, 0.713831, -12.3172, 5.78213, 6.64571) script = ExtResource("2_8md3q") priority_override = false priority = 5 follow_mode = 0 look_at_mode = 3 look_at_group = Array[NodePath]([NodePath("../PlayerCharacterBody3D2"), NodePath("../../NPCs/PlayerMeshInstance3D"), NodePath("../../NPCs/PlayerMeshInstance3D2")]) tween_parameters = null tween_on_load = false inactive_update_mode = 0 camera_3D_resource = null [node name="PlayerCharacterBody3D2" type="CharacterBody3D" parent="Player"] unique_name_in_owner = true transform = Transform3D(0.999897, 0.0143636, 0, -0.0143636, 0.999897, 0, 0, 0, 1, -12.0829, 0.5, 1.40206) script = ExtResource("3_odwso") SPEED = 3.0 metadata/_edit_group_ = true [node name="PlayerMeshInstance3D" type="MeshInstance3D" parent="Player/PlayerCharacterBody3D2"] mesh = SubResource("CapsuleMesh_pda7a") surface_material_override/0 = SubResource("StandardMaterial3D_u74j7") [node name="PlayerArea3D" type="Area3D" parent="Player/PlayerCharacterBody3D2"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Player/PlayerCharacterBody3D2/PlayerArea3D"] shape = SubResource("CapsuleShape3D_3xplc") [node name="PlayerCollisionShape3D" type="CollisionShape3D" parent="Player/PlayerCharacterBody3D2"] shape = SubResource("CapsuleShape3D_3xplc") [node name="NPCs" type="Node" parent="."] [node name="PlayerMeshInstance3D" type="MeshInstance3D" parent="NPCs"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.6059, 0.519002, -1.52506) mesh = SubResource("CapsuleMesh_2h36r") skeleton = NodePath("") surface_material_override/0 = SubResource("StandardMaterial3D_w3olp") [node name="PlayerMeshInstance3D2" type="MeshInstance3D" parent="NPCs"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.0461, 0.519, 4.06618) mesh = SubResource("CapsuleMesh_2h36r") skeleton = NodePath("") surface_material_override/0 = SubResource("StandardMaterial3D_cw102") [node name="Environment" type="Node" parent="."] [node name="Floor" parent="Environment" instance=ExtResource("4_2i811")] transform = Transform3D(1000, 0, 0, 0, 1, 0, 0, 0, 1000, 0, -1, 0) metadata/_edit_lock_ = true [node name="CSGCylinder3D" type="CSGCylinder3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -13.6511, 0.805455, -6.37532) use_collision = true radius = 1.71971 height = 2.61091 sides = 32 [node name="CSGCylinder3D5" type="CSGCylinder3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12.9141, 0.31181, -5.46661) use_collision = true radius = 2.77591 height = 1.62362 sides = 32 [node name="CSGCylinder3D6" type="CSGCylinder3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -21.6099, 0.31181, 6.6322) use_collision = true radius = 1.57419 height = 3.47475 sides = 32 [node name="CSGCylinder3D3" type="CSGCylinder3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.75028, 0.201103, 2.71259) use_collision = true radius = 1.41311 height = 1.40221 sides = 32 [node name="CSGCylinder3D4" type="CSGCylinder3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.61885, 0.201101, 11.6804) use_collision = true radius = 2.21673 height = 7.88261 sides = 32 [node name="CSGCylinder3D2" type="CSGCylinder3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.81402, 0.805455, -8.78984) use_collision = true radius = 0.956285 height = 2.61091 sides = 32 [node name="CSGSphere3D" type="CSGSphere3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.95333, -1.69814, -6.51262) use_collision = true radius = 3.34732 rings = 32 [node name="CSGSphere3D2" type="CSGSphere3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.4682, -0.599204, 8.81048) use_collision = true radius = 2.65844 rings = 32 [node name="CSGSphere3D3" type="CSGSphere3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26.0848, -0.599204, -2.42244) use_collision = true radius = 2.14606 rings = 32 [node name="CSGTorus3D" type="CSGTorus3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17.2356, -1.90735e-06, 0.346393) use_collision = true inner_radius = 1.3 outer_radius = 2.0 sides = 32 ring_sides = 18 [node name="CSGTorus3D2" type="CSGTorus3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.90455, -1.90735e-06, 7.89765) use_collision = true inner_radius = 0.971543 outer_radius = 2.15226 sides = 32 ring_sides = 18 [node name="CSGBox3D" type="CSGBox3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.52545, 6.53866, -12.6331) use_collision = true size = Vector3(178.429, 14.0773, 1) material = SubResource("StandardMaterial3D_auy8m") [node name="CSGBox3D2" type="CSGBox3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -21.1764, 0.760708, -6.1376) use_collision = true size = Vector3(2.64182, 2.52142, 2.30997) [node name="CSGBox3D5" type="CSGBox3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.31901, 0.335247, 8.22829) use_collision = true size = Vector3(3.80964, 1.67049, 0.932048) [node name="CSGBox3D3" type="CSGBox3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.94346, 0.138478, -4.36159) use_collision = true size = Vector3(1.53893, 1.27695, 1.80814) [node name="CSGBox3D6" type="CSGBox3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26.7985, 0.138478, 5.20734) use_collision = true size = Vector3(4.03502, 1.27695, 5.2198) [node name="CSGBox3D4" type="CSGBox3D" parent="Environment"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.1236, 1.78638, -1.60318) use_collision = true size = Vector3(4.57784, 4.57276, 3.11285)