diff options
Diffstat (limited to 'incubator.tscn')
| -rw-r--r-- | incubator.tscn | 41 |
1 files changed, 31 insertions, 10 deletions
diff --git a/incubator.tscn b/incubator.tscn index c46ac38..4acd66f 100644 --- a/incubator.tscn +++ b/incubator.tscn @@ -3,17 +3,16 @@ [ext_resource path="res://mesh/incubator.dae" type="PackedScene" id=1] [ext_resource path="res://scripts/incubator.gd" type="Script" id=2] -[sub_resource type="ConvexPolygonShape" id=2] +[sub_resource type="ConvexPolygonShape" id=4] points = PoolVector3Array( 1, -1, 1, -0.999512, -1, -1, 1, -1, -0.999512, -0.999512, 1, -1, 0.999512, 1, 1, 1, 1, -0.999512, 1, 1, -0.999512, 1, -1, 1, 1, -1, -0.999512, 0.999512, 1, 1, -1, -1, 0.999512, 1, -1, 1, -1, -1, 0.999512, -0.999512, 1, -1, -0.999512, -1, -1, 1, -1, -0.999512, -0.999512, 1, -1, 1, 1, -0.999512, -1, -1, 0.999512, -1, 1, 0.999512, 0.999512, 1, 1, -1, 1, 0.999512, -1, 1, 0.999512, -0.999512, -1, -1 ) -[sub_resource type="ConvexPolygonShape" id=3] +[sub_resource type="ConvexPolygonShape" id=2] points = PoolVector3Array( -1, 1, 2.81836, -1, -1, -1, -1, -1, 2.81836, -1, 1, -1, 1, -1, -1, -1, -1, -1, 1, 1, -1, 1, -1, 2.81836, 1, -1, -1, 1, 1, 2.81836, -1, -1, 2.81836, 1, -1, 2.81836, 1, -1, -1, -1, -1, 2.81836, -1, -1, -1, -1, 1, -1, 1, 1, 2.81836, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1, 2.81836, -1, 1, 2.81836, 1, -1, 2.81836, -1, 1, 2.81836 ) -[sub_resource type="SpatialMaterial" id=1] +[sub_resource type="SpatialMaterial" id=3] -resource_name = "glass" flags_transparent = true flags_unshaded = false flags_on_top = false @@ -52,12 +51,16 @@ uv2_offset = Vector2( 0, 0 ) script = ExtResource( 2 ) +[node name="Cube" parent="."] + +editor/display_folded = true + [node name="StaticBody" type="StaticBody" parent="Cube"] input_ray_pickable = true input_capture_on_drag = false shape_count = 1 -shapes/0/shape = SubResource( 2 ) +shapes/0/shape = SubResource( 4 ) shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) shapes/0/trigger = true collision_layer = 1 @@ -69,16 +72,20 @@ constant_angular_velocity = Vector3( 0, 0, 0 ) [node name="CollisionShape" type="CollisionShape" parent="Cube/StaticBody"] -shape = SubResource( 2 ) +shape = SubResource( 4 ) trigger = true _update_shape_index = 0 +[node name="Cube.1" parent="."] + +editor/display_folded = true + [node name="StaticBody" type="StaticBody" parent="Cube.1"] input_ray_pickable = true input_capture_on_drag = false shape_count = 1 -shapes/0/shape = SubResource( 3 ) +shapes/0/shape = SubResource( 2 ) shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) shapes/0/trigger = true collision_layer = 1 @@ -90,18 +97,18 @@ constant_angular_velocity = Vector3( 0, 0, 0 ) [node name="CollisionShape" type="CollisionShape" parent="Cube.1/StaticBody"] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) -shape = SubResource( 3 ) +shape = SubResource( 2 ) trigger = true _update_shape_index = 0 [node name="cover" parent="."] -material_override = SubResource( 1 ) +material_override = SubResource( 3 ) material/0 = null [node name="spawns" type="Spatial" parent="."] +editor/display_folded = true transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0 ) [node name="0-1" type="Position3D" parent="spawns"] @@ -136,6 +143,20 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.732647, 1.64196, -0.150503 transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.732647, 1.64196, -0.97198 ) +[node name="point" type="Camera" parent="."] + +transform = Transform( -3.09086e-08, -0.707107, 0.707107, -1.28028e-08, 0.707107, 0.707107, -1, 1.28028e-08, -3.09086e-08, 2.2, 3, 0 ) +projection = 0 +fov = 60.0 +near = 0.1 +far = 100.0 +keep_aspect = 1 +current = false +cull_mask = 1048575 +environment = null +h_offset = 0.0 +v_offset = 0.0 + [connection signal="input_event" from="Cube/StaticBody" to="." method="_on_body_input_event"] [connection signal="input_event" from="Cube.1/StaticBody" to="." method="_on_panel_input_event"] |
