feat: Make building random on instantiation
This commit is contained in:
parent
f442613e85
commit
c5fc132699
1927
building.tscn
1927
building.tscn
File diff suppressed because it is too large
Load Diff
|
|
@ -1,6 +1,7 @@
|
|||
[gd_scene format=3 uid="uid://m45422rsfnmh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dixivehd47h0o" path="res://spawn.gd" id="1_3a72r"]
|
||||
[ext_resource type="PackedScene" uid="uid://da60ofnpg72ua" path="res://building.tscn" id="2_yqulk"]
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_kdh3y"]
|
||||
size = Vector2(150, 150)
|
||||
|
|
@ -14,3 +15,6 @@ script = ExtResource("1_3a72r")
|
|||
[node name="Mesh" type="MeshInstance3D" parent="." unique_id=651037282]
|
||||
mesh = SubResource("PlaneMesh_kdh3y")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_eoxb4")
|
||||
|
||||
[node name="Building" parent="." unique_id=228050854 instance=ExtResource("2_yqulk")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -46.942894, 1.6992264, -36.10958)
|
||||
|
|
|
|||
Loading…
Reference in New Issue