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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
[gd_scene load_steps=11 format=2] [ext_resource path="res://3d/room/room.glb" type="PackedScene" id=1] [ext_resource path="res://3d/room/camera_path.tscn" type="PackedScene" id=2] [ext_resource path="res://3d/room/room.gd" type="Script" id=3] [sub_resource type="NavigationMesh" id=1] vertices = PoolVector3Array( 0.915321, 0.456383, -0.916844, 0.0153217, 0.456383, -0.916844, -0.884679, 0.456383, 0.283156, -0.284678, 0.456383, 2.98316, 0.915321, 0.456383, 2.98316, -3.88468, 0.456383, 0.283156, -5.08468, 0.456383, -0.916844, -6.28468, 0.456383, 0.583156, -8.98468, 0.456383, 13.7832, -2.68468, 0.456383, 13.7832, -2.68468, 0.456383, 10.7832, -2.68468, 0.456383, 10.7832, -1.18468, 0.456383, 6.88316, -1.18468, 0.456383, 3.88316, -1.18468, 0.456383, 3.88316, -0.284678, 0.456383, 2.98316, -0.884679, 0.456383, 0.283156, -3.88468, 0.456383, 0.283156, -6.28468, 0.456383, 0.583156, -7.78468, 0.456383, 0.883156, -14.9847, 0.456383, 5.38316, -14.9847, 0.456383, 13.7832, -8.98468, 0.456383, 13.7832, -2.68468, 0.456383, 10.7832, -1.18468, 0.456383, 3.88316, -7.78468, 0.456383, 0.883156, -2.68468, 0.456383, 10.7832, 0.615322, 0.456383, 8.08316, -1.18468, 0.456383, 6.88316, -7.78468, 0.456383, 0.883156, -10.1847, 0.456383, -1.51684, -14.9847, 0.456383, -3.01684, -14.9847, 0.456383, 5.38316, -10.1847, 0.456383, -1.51684, -9.58468, 0.456383, -3.01684, -14.9847, 0.456383, -3.01684 ) polygons = [ PoolIntArray( 1, 0, 2 ), PoolIntArray( 2, 0, 3 ), PoolIntArray( 3, 0, 4 ), PoolIntArray( 5, 7, 6 ), PoolIntArray( 8, 10, 9 ), PoolIntArray( 13, 12, 11 ), PoolIntArray( 15, 14, 16 ), PoolIntArray( 16, 14, 17 ), PoolIntArray( 17, 14, 18 ), PoolIntArray( 18, 14, 19 ), PoolIntArray( 21, 20, 22 ), PoolIntArray( 22, 20, 23 ), PoolIntArray( 23, 20, 25 ), PoolIntArray( 23, 25, 24 ), PoolIntArray( 28, 27, 26 ), PoolIntArray( 30, 29, 31 ), PoolIntArray( 31, 29, 32 ), PoolIntArray( 35, 34, 33 ) ] geometry/parsed_geometry_type = 1 geometry/collision_mask = 4294967295 agent/radius = 1.0 [sub_resource type="BoxShape" id=2] extents = Vector3( 10.4274, 1, 9.52695 ) [sub_resource type="BoxShape" id=3] [sub_resource type="CapsuleShape" id=8] radius = 2.38605 height = 2.862 [sub_resource type="CapsuleShape" id=9] radius = 2.06905 height = 9.50234 [sub_resource type="CubeMesh" id=6] size = Vector3( 12, 1, 12 ) [sub_resource type="SpatialMaterial" id=7] flags_unshaded = true [node name="room" instance=ExtResource( 1 )] script = ExtResource( 3 ) [node name="start_position" type="Spatial" parent="." index="14"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.89554, 1.07192, 0 ) [node name="camera_path" parent="." index="15" instance=ExtResource( 2 )] transform = Transform( 0.663561, 0.259244, -0.701769, 0, 0.93804, 0.346526, 0.748122, -0.229941, 0.622447, -9.8165, 7.28156, 6.28461 ) [node name="navigation" type="Navigation" parent="." index="16"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3.91877, 0, 0 ) [node name="mesh" type="NavigationMeshInstance" parent="navigation" index="0"] navmesh = SubResource( 1 ) [node name="StaticBody" type="StaticBody" parent="navigation/mesh" index="0"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.943617, 0 ) [node name="CollisionShape" type="CollisionShape" parent="navigation/mesh/StaticBody" index="0"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5.75728, 0, 5.4852 ) shape = SubResource( 2 ) [node name="CollisionShape2" type="CollisionShape" parent="navigation/mesh/StaticBody" index="1"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.34985, 1.83572, -2.14924 ) shape = SubResource( 3 ) [node name="CollisionShape7" type="CollisionShape" parent="navigation/mesh/StaticBody" index="2"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.14671, 1.83572, -3.21684 ) shape = SubResource( 3 ) [node name="CollisionShape3" type="CollisionShape" parent="navigation/mesh/StaticBody" index="3"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.26968, 1.90544, 5.40748 ) shape = SubResource( 3 ) [node name="CollisionShape6" type="CollisionShape" parent="navigation/mesh/StaticBody" index="4"] transform = Transform( 0.738996, 0, 0.673709, 0, 1, 0, -0.673709, 0, 0.738996, -7.27249, 1.90544, -1.8949 ) shape = SubResource( 3 ) [node name="CollisionShape5" type="CollisionShape" parent="navigation/mesh/StaticBody" index="5"] transform = Transform( 0.614974, 0, -0.788548, 0, 1, 0, 0.788548, 0, 0.614974, 1.49181, 1.90544, 11.9313 ) shape = SubResource( 8 ) [node name="CollisionShape4" type="CollisionShape" parent="navigation/mesh/StaticBody" index="6"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.27221, 1.90544, 2.87033 ) shape = SubResource( 9 ) [node name="aabb" type="MeshInstance" parent="navigation" index="1"] transform = Transform( 2.08878, 0, 0, 0, 2.08878, 0, 0, 0, 2.08878, -6.10297, 0, 8.08731 ) visible = false mesh = SubResource( 6 ) material/0 = SubResource( 7 )