1
- [gd_scene load_steps =32 format =3 uid ="uid://vts2xl0t0xub" ]
1
+ [gd_scene load_steps =31 format =3 uid ="uid://vts2xl0t0xub" ]
2
2
3
3
[ext_resource type ="PackedScene" uid ="uid://biunegs8tkvn0" path ="res://addons/godot_vision/VisionVolumeCamera.tscn" id ="1_3lu4e" ]
4
+ [ext_resource type ="Script" path ="res://test_delete_me.gd" id ="1_whf6r" ]
4
5
[ext_resource type ="Script" path ="res://examples/common/scripts/Rotater.gd" id ="2_32yj7" ]
5
- [ext_resource type ="PackedScene" uid ="uid://bb6s0wxfewce6" path ="res://examples/hello/prefabs/tower_enemy.tscn" id ="3_ywgnt" ]
6
6
[ext_resource type ="Texture2D" uid ="uid://bmd0x5t1c2b3i" path ="res://examples/hello/textures/checker.jpg" id ="4_v0jkp" ]
7
7
[ext_resource type ="Script" path ="res://examples/common/scripts/play_sound_button.gd" id ="5_lq6td" ]
8
8
[ext_resource type ="AudioStream" uid ="uid://xrv22x52g14l" path ="res://examples/hello/sound/moo.mp3" id ="6_3x8lp" ]
16
16
[ext_resource type ="PackedScene" uid ="uid://uqr4hswv6d2g" path ="res://examples/kenney_platformer/objects/platform_grass_large_round.tscn" id ="14_g2l2r" ]
17
17
[ext_resource type ="PackedScene" uid ="uid://c8up71en5djgm" path ="res://examples/kenney_platformer/objects/platform_falling.tscn" id ="15_3bhpv" ]
18
18
[ext_resource type ="PackedScene" uid ="uid://dfpisimsgf5ce" path ="res://examples/kenney_platformer/objects/coin.tscn" id ="16_g0bc0" ]
19
+ [ext_resource type ="PackedScene" uid ="uid://cnymdajj1vsqm" path ="res://examples/kenney_platformer/objects/platform.tscn" id ="17_5m72r" ]
19
20
[ext_resource type ="PackedScene" uid ="uid://dy017k58p20sk" path ="res://examples/kenney_platformer/objects/cloud.tscn" id ="17_iiyjx" ]
20
21
22
+ [sub_resource type ="BoxShape3D" id ="BoxShape3D_exuxr" ]
23
+ size = Vector3 (15.84 , 8.8 , 13.2 )
24
+
21
25
[sub_resource type ="StandardMaterial3D" id ="StandardMaterial3D_53i7p" ]
22
26
albedo_color = Color (1 , 0.603922 , 1 , 1 )
23
27
24
28
[sub_resource type ="TextMesh" id ="TextMesh_14eta" ]
25
29
material = SubResource ("StandardMaterial3D_53i7p" )
26
30
text = "Hello from Godot"
27
31
28
- [sub_resource type ="StandardMaterial3D" id ="StandardMaterial3D_dbryu" ]
29
- albedo_texture = ExtResource ("4_v0jkp" )
30
- uv1_scale = Vector3 (3 , 3 , 3 )
31
-
32
- [sub_resource type ="BoxMesh" id ="BoxMesh_u4h1h" ]
33
- material = SubResource ("StandardMaterial3D_dbryu" )
34
-
35
- [sub_resource type ="BoxShape3D" id ="BoxShape3D_ttl84" ]
36
-
37
32
[sub_resource type ="BoxShape3D" id ="BoxShape3D_5oa15" ]
38
33
size = Vector3 (1.5 , 1 , 1 )
39
34
@@ -69,9 +64,14 @@ material = SubResource("StandardMaterial3D_27pdl")
69
64
70
65
[node name ="Example GodotVision Scene" type ="Node3D" ]
71
66
transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0.0050149 , -0.00658166 , 0.00135791 )
67
+ script = ExtResource ("1_whf6r" )
72
68
73
69
[node name ="VisionVolumeCamera" parent ="." instance =ExtResource ("1_3lu4e" )]
74
70
71
+ [node name ="CollisionShape3D" parent ="VisionVolumeCamera" index ="0" ]
72
+ transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 0 , -1.05989 )
73
+ shape = SubResource ("BoxShape3D_exuxr" )
74
+
75
75
[node name ="Text Mesh" type ="MeshInstance3D" parent ="." ]
76
76
transform = Transform3D (10.009 , 0 , 0 , 0 , 10.009 , 0 , 0 , 0 , 10.009 , 0 , 0.539946 , -0.496924 )
77
77
mesh = SubResource ("TextMesh_14eta" )
@@ -80,20 +80,8 @@ script = ExtResource("2_32yj7")
80
80
[node name ="DirectionalLight3D" type ="DirectionalLight3D" parent ="." ]
81
81
transform = Transform3D (0.688506 , 0.382906 , -0.615907 , -4.30062e-16 , 0.849257 , 0.527979 , 0.72523 , -0.363517 , 0.584719 , 0 , 0 , 0 )
82
82
83
- [node name ="character" parent ="." instance =ExtResource ("3_ywgnt" )]
84
- transform = Transform3D (-4 .37114e-08, 3.48787e-16 , 1 , 3.48787e-16 , 1 , -3.48787e-16 , -1 , 3.48787e-16 , -4 .37114e-08, 2 .08165e-12 , 1.30854 , 2 .08165e-12 )
85
-
86
- [node name ="StaticBody3D" type ="StaticBody3D" parent ="." ]
87
- transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0.00369835 , -3.60079 , 0.00676847 )
88
-
89
- [node name ="MeshInstance3D" type ="MeshInstance3D" parent ="StaticBody3D" ]
90
- mesh = SubResource ("BoxMesh_u4h1h" )
91
-
92
- [node name ="CollisionShape3D" type ="CollisionShape3D" parent ="StaticBody3D" ]
93
- shape = SubResource ("BoxShape3D_ttl84" )
94
-
95
83
[node name ="Play Sound Button" type ="StaticBody3D" parent ="." ]
96
- transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 2.20155 , -1.90392 , -0.700861 )
84
+ transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , -5.6105 , -3.76052 , -0.694833 )
97
85
collision_mask = 0
98
86
input_capture_on_drag = true
99
87
script = ExtResource ("5_lq6td" )
@@ -128,22 +116,6 @@ transform = Transform3D(1.97583, 0, 0, 0, 1.97583, 0, 0, 0, 1.97583, 0, 0, 0.603
128
116
mesh = SubResource ("TextMesh_yuig5" )
129
117
script = ExtResource ("9_quqbi" )
130
118
131
- [node name ="Drag Me Button2" type ="AnimatableBody3D" parent ="." ]
132
- transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , -6.75171 , -1.90392 , -0.700861 )
133
- collision_mask = 0
134
- script = ExtResource ("8_acynk" )
135
-
136
- [node name ="CollisionShape3D" type ="CollisionShape3D" parent ="Drag Me Button2" ]
137
- shape = SubResource ("BoxShape3D_5oa15" )
138
-
139
- [node name ="MeshInstance3D" type ="MeshInstance3D" parent ="Drag Me Button2" ]
140
- mesh = SubResource ("BoxMesh_rfpgq" )
141
-
142
- [node name ="Label" type ="MeshInstance3D" parent ="Drag Me Button2" ]
143
- transform = Transform3D (1.97583 , 0 , 0 , 0 , 1.97583 , 0 , 0 , 0 , 1.97583 , 0 , 0 , 0.603814 )
144
- mesh = SubResource ("TextMesh_yuig5" )
145
- script = ExtResource ("9_quqbi" )
146
-
147
119
[node name ="Magnify Me Button" type ="AnimatableBody3D" parent ="." ]
148
120
transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , -1.62592 , -1.90392 , -0.700861 )
149
121
collision_mask = 0
@@ -195,27 +167,29 @@ script = ExtResource("12_rdyhc")
195
167
target = NodePath (".." )
196
168
197
169
[node name ="Player" parent ="." node_paths =PackedStringArray ("view" ) instance =ExtResource ("13_py3sj" )]
198
- transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 4.36301 , 0 , 0 )
170
+ transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 )
199
171
view = NodePath ("../VisionVolumeCamera" )
200
172
201
173
[node name ="platform-grass-large-round" parent ="." instance =ExtResource ("14_g2l2r" )]
202
- transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 4.40172 , -3.35376 , 0.662678 )
174
+ transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 3.87243 , -3.35376 , 0.66343 )
203
175
204
176
[node name ="platform-falling" parent ="." instance =ExtResource ("15_3bhpv" )]
205
177
transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 4.34123 , -3.42223 , -3.65213 )
206
178
207
179
[node name ="platform-falling2" parent ="." instance =ExtResource ("15_3bhpv" )]
208
180
transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 4.21409 , -3.42223 , 4.60199 )
209
181
210
- [node name ="platform-falling3" parent ="." instance =ExtResource ("15_3bhpv" )]
211
- transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 8.43583 , -3.42223 , 0.285123 )
212
-
213
182
[node name ="coin" parent ="." instance =ExtResource ("16_g0bc0" )]
214
- transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 8.51046 , -2.17635 , 0.436899 )
183
+ transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 4.35514 , -2.0356 , -3.60906 )
215
184
216
185
[node name ="cube" parent ="." instance =ExtResource ("17_iiyjx" )]
217
- transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 8.48395 , 0.00658166 , -2.2926 )
186
+ transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 5.51429 , 0.00658166 , -2.2926 )
187
+
188
+ [node name ="platform" parent ="." instance =ExtResource ("17_5m72r" )]
189
+ transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , -3 , 0 )
190
+ script = null
218
191
219
192
[connection signal ="input_event" from ="Play Sound Button" to ="Play Sound Button" method ="_on_input_event" ]
220
193
[connection signal ="spatial_drag" from ="Drag Me Button" to ="Drag Me Button/Label" method ="_on_drag_me_button_spatial_drag" ]
221
- [connection signal ="spatial_drag" from ="Drag Me Button2" to ="Drag Me Button2/Label" method ="_on_drag_me_button_spatial_drag" ]
194
+
195
+ [editable path ="VisionVolumeCamera" ]
0 commit comments