diff options
Diffstat (limited to 'exporter.tscn')
| -rw-r--r-- | exporter.tscn | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/exporter.tscn b/exporter.tscn new file mode 100644 index 0000000..7a5af79 --- /dev/null +++ b/exporter.tscn @@ -0,0 +1,76 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://mesh/exporter.dae" type="PackedScene" id=1] +[ext_resource path="res://scripts/exporter.gd" type="Script" id=2] +[ext_resource path="res://glass.tres" type="Material" id=3] + +[sub_resource type="ConvexPolygonShape" id=1] + +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 ) + +[node name="Exporter" instance=ExtResource( 1 )] + +script = ExtResource( 2 ) + +[node name="StaticBody" type="StaticBody" parent="Cube"] + +input_ray_pickable = true +input_capture_on_drag = false +shape_count = 1 +shapes/0/shape = SubResource( 1 ) +shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) +shapes/0/trigger = true +collision_layer = 1 +collision_mask = 1 +friction = 1.0 +bounce = 0.0 +constant_linear_velocity = Vector3( 0, 0, 0 ) +constant_angular_velocity = Vector3( 0, 0, 0 ) + +[node name="CollisionShape" type="CollisionShape" parent="Cube/StaticBody"] + +shape = SubResource( 1 ) +trigger = true +_update_shape_index = 0 + +[node name="cover" parent="."] + +material_override = ExtResource( 3 ) + +[node name="bulb" type="OmniLight" parent="."] + +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.05032, 2.05093, 1.5916 ) +layers = 1 +light_color = Color( 1, 1, 1, 1 ) +light_energy = 4.0 +light_negative = false +light_specular = 0.5 +light_cull_mask = -1 +shadow_enabled = true +shadow_color = Color( 0, 0, 0, 1 ) +shadow_bias = 0.1 +shadow_contact = 0.0 +shadow_max_distance = 0.0 +editor_only = false +omni_range = 5.0 +omni_attenuation = 1.0 +omni_shadow_mode = 0 +omni_shadow_detail = 1 + +[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.5, 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"] + + |
