|
1 | | -[gd_scene load_steps=2 format=2] |
| 1 | +[gd_scene load_steps=3 format=2] |
2 | 2 |
|
3 | 3 | [ext_resource path="res://observer/observer.gd" type="Script" id=1] |
4 | 4 |
|
5 | | -[node name="Observer" type="KinematicBody" index="0"] |
6 | | - |
7 | | -input_ray_pickable = true |
8 | | -input_capture_on_drag = false |
9 | | -collision_layer = 1 |
10 | | -collision_mask = 1 |
11 | | -axis_lock_linear_x = false |
12 | | -axis_lock_linear_y = false |
13 | | -axis_lock_linear_z = false |
14 | | -axis_lock_angular_x = false |
15 | | -axis_lock_angular_y = false |
16 | | -axis_lock_angular_z = false |
17 | | -collision/safe_margin = 0.001 |
| 5 | +[sub_resource type="BoxShape" id=1] |
| 6 | + |
| 7 | + |
| 8 | +[node name="Observer" type="KinematicBody"] |
18 | 9 | script = ExtResource( 1 ) |
19 | 10 |
|
20 | | -[node name="Camera" type="Camera" parent="." index="0"] |
| 11 | +[node name="CollisionShape" type="CollisionShape" parent="."] |
| 12 | +shape = SubResource( 1 ) |
21 | 13 |
|
22 | | -keep_aspect = 1 |
23 | | -cull_mask = 1048575 |
24 | | -environment = null |
25 | | -h_offset = 0.0 |
26 | | -v_offset = 0.0 |
27 | | -doppler_tracking = 0 |
28 | | -projection = 0 |
29 | | -current = false |
| 14 | +[node name="Camera" type="Camera" parent="."] |
30 | 15 | fov = 74.0 |
31 | | -size = 1.0 |
32 | 16 | near = 0.1 |
33 | 17 | far = 1000.0 |
34 | 18 |
|
35 | | -[node name="OmniLight" type="OmniLight" parent="." index="1"] |
36 | | - |
37 | | -layers = 1 |
38 | | -light_color = Color( 1, 1, 1, 1 ) |
39 | | -light_energy = 1.0 |
40 | | -light_indirect_energy = 1.0 |
41 | | -light_negative = false |
42 | | -light_specular = 0.5 |
43 | | -light_bake_mode = 1 |
44 | | -light_cull_mask = -1 |
45 | | -shadow_enabled = false |
46 | | -shadow_color = Color( 0, 0, 0, 1 ) |
47 | | -shadow_bias = 0.15 |
48 | | -shadow_contact = 0.0 |
49 | | -shadow_reverse_cull_face = false |
50 | | -editor_only = false |
51 | | -omni_range = 5.0 |
52 | | -omni_attenuation = 1.0 |
53 | | -omni_shadow_mode = 1 |
54 | | -omni_shadow_detail = 1 |
| 19 | +[node name="OmniLight" type="OmniLight" parent="."] |
| 20 | + |
0 commit comments