Building collision
This commit is contained in:
parent
77877b0c35
commit
e22b5a7bd0
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://ce7jbp7f55cro"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://ce7jbp7f55cro"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cchgdggcbyk6f" path="res://Models/buildings/building_01.1.glb" id="1_8lstr"]
|
||||
[ext_resource type="Texture2D" uid="uid://b4qbyum6h2mhf" path="res://Textures/building_01.png" id="2_w406q"]
|
||||
|
@ -6,7 +6,16 @@
|
|||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_i2ykn"]
|
||||
albedo_texture = ExtResource("2_w406q")
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hr7fu"]
|
||||
size = Vector3(0.183504, 0.527655, 0.184908)
|
||||
|
||||
[node name="building_01_1" instance=ExtResource("1_8lstr")]
|
||||
|
||||
[node name="node_id4" parent="root" index="0"]
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_i2ykn")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="root" index="1"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="root/StaticBody3D" index="0"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.251368)
|
||||
shape = SubResource("BoxShape3D_hr7fu")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://cx44bjuxlhq06"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://cx44bjuxlhq06"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://buxxa2rq7s8eg" path="res://Models/buildings/building_01.2.glb" id="1_sy5sk"]
|
||||
[ext_resource type="Texture2D" uid="uid://vnlqr1ob2tss" path="res://Textures/building_02.png" id="2_ns75r"]
|
||||
|
@ -6,7 +6,16 @@
|
|||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ktg7d"]
|
||||
albedo_texture = ExtResource("2_ns75r")
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_wy6bt"]
|
||||
size = Vector3(0.377897, 0.527655, 0.362437)
|
||||
|
||||
[node name="building_01_2" instance=ExtResource("1_sy5sk")]
|
||||
|
||||
[node name="node_id4" parent="root" index="0"]
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_ktg7d")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="." index="1"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="0"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.00178906, 0.251368)
|
||||
shape = SubResource("BoxShape3D_wy6bt")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://bm65tvb4irjqw"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://bm65tvb4irjqw"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dgm33vy6bq45y" path="res://Models/buildings/building_01.3.glb" id="1_6oij5"]
|
||||
[ext_resource type="Texture2D" uid="uid://cew7em3xjhrbo" path="res://Textures/building_03.png" id="2_qgmwq"]
|
||||
|
@ -6,7 +6,16 @@
|
|||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_h48n6"]
|
||||
albedo_texture = ExtResource("2_qgmwq")
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_t3xdb"]
|
||||
size = Vector3(0.366655, 0.527655, 0.367689)
|
||||
|
||||
[node name="building_01_3" instance=ExtResource("1_6oij5")]
|
||||
|
||||
[node name="node_id4" parent="root" index="0"]
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_h48n6")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="root" index="1"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="root/StaticBody3D" index="0"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.251368)
|
||||
shape = SubResource("BoxShape3D_t3xdb")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://tky3cco2k7v7"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://tky3cco2k7v7"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ct2lgbtpp3wp" path="res://Models/buildings/building_01.4.glb" id="1_xd1sg"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckmnisf86xgdu" path="res://Textures/building_05.png" id="2_1ortp"]
|
||||
|
@ -6,7 +6,16 @@
|
|||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3mjbs"]
|
||||
albedo_texture = ExtResource("2_1ortp")
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_6nnc6"]
|
||||
size = Vector3(0.53466, 0.527655, 0.526273)
|
||||
|
||||
[node name="building_01_4" instance=ExtResource("1_xd1sg")]
|
||||
|
||||
[node name="node_id4" parent="root" index="0"]
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_3mjbs")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="root" index="1"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="root/StaticBody3D" index="0"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.251368)
|
||||
shape = SubResource("BoxShape3D_6nnc6")
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue