1- [gd_scene load_steps =15 format =2 ]
1+ [gd_scene load_steps =13 format =2 ]
22
33[ext_resource path ="res://2D_in_3D.gd" type ="Script" id =1 ]
44[ext_resource path ="res://pong.gd" type ="Script" id =2 ]
99
1010[sub_resource type ="PlaneMesh" id =1 ]
1111
12- [sub_resource type ="GDScript" id =2 ]
13- script/source = "tool
14- extends Object
15- func e ():
16- return .7
17- "
18-
19- [sub_resource type ="SpatialMaterial" id =3 ]
12+ [sub_resource type ="SpatialMaterial" id =2 ]
2013roughness = 0.7
21- script = SubResource ( 2 )
2214
23- [sub_resource type ="CubeMesh" id =4 ]
15+ [sub_resource type ="CubeMesh" id =3 ]
2416
25- [sub_resource type ="SpatialMaterial" id =5 ]
17+ [sub_resource type ="SpatialMaterial" id =4 ]
2618albedo_color = Color ( 0.652344 , 0.652344 , 0.652344 , 1 )
2719roughness = 0.0
2820
29- [sub_resource type ="GDScript" id =6 ]
30- script/source = "tool
31- extends Object
32- func e ():
33- return 0.1
34- "
35-
36- [sub_resource type ="CubeMesh" id =7 ]
21+ [sub_resource type ="CubeMesh" id =5 ]
3722size = Vector3 ( 1.1 , 0.8 , 0.1 )
38- script = SubResource ( 6 )
3923
40- [sub_resource type ="SpatialMaterial" id =8 ]
24+ [sub_resource type ="SpatialMaterial" id =6 ]
4125
4226[node name ="2Din3D" type ="Spatial" ]
4327script = ExtResource ( 1 )
@@ -50,48 +34,48 @@ near = 0.1
5034[node name ="Floor" type ="MeshInstance" parent ="." ]
5135transform = Transform ( 4 , 0 , 0 , 0 , 4 , 0 , 0 , 0 , 4 , 0 , -1 , -2 )
5236mesh = SubResource ( 1 )
53- material/0 = SubResource ( 3 )
37+ material/0 = SubResource ( 2 )
5438
5539[node name ="Pillar1" type ="Spatial" parent ="." ]
5640transform = Transform ( 0.6 , 0 , 0 , 0 , 0.6 , 0 , 0 , 0 , 0.6 , -3 , -0.2 , -4 )
5741
5842[node name ="PillarBottom" type ="MeshInstance" parent ="Pillar1" ]
5943transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , -0.5 , 0 )
60- mesh = SubResource ( 4 )
61- material/0 = SubResource ( 5 )
44+ mesh = SubResource ( 3 )
45+ material/0 = SubResource ( 4 )
6246
6347[node name ="PillarTop" type ="MeshInstance" parent ="Pillar1" ]
6448transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 5.5 , 0 )
65- mesh = SubResource ( 4 )
66- material/0 = SubResource ( 5 )
49+ mesh = SubResource ( 3 )
50+ material/0 = SubResource ( 4 )
6751
6852[node name ="PillarMiddle" type ="MeshInstance" parent ="Pillar1" ]
6953transform = Transform ( 0.7 , 0 , 0 , 0 , 2 , 0 , 0 , 0 , 0.7 , 0 , 2.5 , 0 )
70- mesh = SubResource ( 4 )
71- material/0 = SubResource ( 5 )
54+ mesh = SubResource ( 3 )
55+ material/0 = SubResource ( 4 )
7256
7357[node name ="Pillar2" type ="Spatial" parent ="." ]
7458transform = Transform ( 0.6 , 0 , 0 , 0 , 0.6 , 0 , 0 , 0 , 0.6 , 3 , -0.2 , -4 )
7559
7660[node name ="PillarBottom" type ="MeshInstance" parent ="Pillar2" ]
7761transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , -0.5 , 0 )
78- mesh = SubResource ( 4 )
79- material/0 = SubResource ( 5 )
62+ mesh = SubResource ( 3 )
63+ material/0 = SubResource ( 4 )
8064
8165[node name ="PillarTop" type ="MeshInstance" parent ="Pillar2" ]
8266transform = Transform ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 5.5 , 0 )
83- mesh = SubResource ( 4 )
84- material/0 = SubResource ( 5 )
67+ mesh = SubResource ( 3 )
68+ material/0 = SubResource ( 4 )
8569
8670[node name ="PillarMiddle" type ="MeshInstance" parent ="Pillar2" ]
8771transform = Transform ( 0.7 , 0 , 0 , 0 , 2 , 0 , 0 , 0 , 0.7 , 0 , 2.5 , 0 )
88- mesh = SubResource ( 4 )
89- material/0 = SubResource ( 5 )
72+ mesh = SubResource ( 3 )
73+ material/0 = SubResource ( 4 )
9074
9175[node name ="PillarBack" type ="MeshInstance" parent ="." ]
9276transform = Transform ( 4 , 0 , 0 , 0 , 4 , 0 , 0 , 0 , 4 , 0 , 1.2 , -4.5 )
93- mesh = SubResource ( 7 )
94- material/0 = SubResource ( 5 )
77+ mesh = SubResource ( 5 )
78+ material/0 = SubResource ( 4 )
9579
9680[node name ="DirectionalLight" type ="DirectionalLight" parent ="." ]
9781transform = Transform ( 0.623013 , -0.733525 , 0.271654 , 0.321394 , 0.55667 , 0.766044 , -0.713134 , -0.389948 , 0.582563 , 0 , 10 , 0 )
@@ -101,7 +85,7 @@ directional_shadow_normal_bias = 0.2
10185
10286[node name ="ViewportQuad" type ="MeshInstance" parent ="." ]
10387transform = Transform ( 2 , 0 , 0 , 0 , 0 , -1.333 , 0 , 1 , 0 , 0 , 1.2 , -4.25 )
104- material_override = SubResource ( 8 )
88+ material_override = SubResource ( 6 )
10589mesh = SubResource ( 1 )
10690material/0 = null
10791
0 commit comments