Save on draw calls
This commit is contained in:
@@ -4,9 +4,6 @@
|
||||
[ext_resource path="res://astream/terrain/details/parts/door1-portal.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://astream/terrain/details/parts/residental-house-stair.tscn" type="PackedScene" id=3]
|
||||
|
||||
[sub_resource type="BoxShape" id=1]
|
||||
extents = Vector3( 0.7, 1, 0.6 )
|
||||
|
||||
[sub_resource type="OccluderShapePolygon" id=2]
|
||||
polygon_points = PoolVector2Array( 11.1717, -0.227351, 11.4926, 12.2452, -11.4349, 12.3369, -11.5266, -0.273208 )
|
||||
|
||||
@@ -16,31 +13,11 @@ polygon_points = PoolVector2Array( 9.98366, 0.136333, 9.93017, 12.0636, -9.48501
|
||||
[sub_resource type="OccluderShapePolygon" id=4]
|
||||
polygon_points = PoolVector2Array( 10.7324, -0.131092, 10.6255, 12.0636, -8.95016, 12.4914, -8.7897, -0.291551 )
|
||||
|
||||
[sub_resource type="BoxShape" id=1]
|
||||
extents = Vector3( 0.7, 1, 0.6 )
|
||||
|
||||
[node name="residental-house5" type="Spatial"]
|
||||
|
||||
[node name="door1-portal" parent="." instance=ExtResource( 2 )]
|
||||
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 1, -8.5131 )
|
||||
|
||||
[node name="enter_destination" type="Spatial" parent="door1-portal" groups=["smart_object"]]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
|
||||
|
||||
[node name="actions" type="Node" parent="door1-portal/enter_destination"]
|
||||
|
||||
[node name="EnterDestination" type="Node" parent="door1-portal/enter_destination/actions"]
|
||||
|
||||
[node name="Area" type="Area" parent="door1-portal/enter_destination"]
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="door1-portal/enter_destination/Area"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="MergeGroup" type="MergeGroup" parent="."]
|
||||
|
||||
[node name="residental-house-stair" parent="MergeGroup" instance=ExtResource( 3 )]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -9 )
|
||||
|
||||
[node name="residental-house5" parent="MergeGroup" instance=ExtResource( 1 )]
|
||||
|
||||
[node name="Occluder" type="Occluder" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 10.9887 )
|
||||
shape = SubResource( 2 )
|
||||
@@ -56,3 +33,35 @@ shape = SubResource( 3 )
|
||||
[node name="Occluder4" type="Occluder" parent="."]
|
||||
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 10.6966, 0.0534847, 2.70653 )
|
||||
shape = SubResource( 4 )
|
||||
|
||||
[node name="LOD" type="LOD" parent="."]
|
||||
|
||||
[node name="0" type="Spatial" parent="LOD"]
|
||||
lod_range = 250.0
|
||||
|
||||
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 2 )]
|
||||
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 1, -8.5131 )
|
||||
skeleton = NodePath("../../..")
|
||||
|
||||
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal" groups=["smart_object"]]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
|
||||
|
||||
[node name="actions" type="Node" parent="LOD/0/door1-portal/enter_destination"]
|
||||
|
||||
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal/enter_destination/actions"]
|
||||
|
||||
[node name="Area" type="Area" parent="LOD/0/door1-portal/enter_destination"]
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal/enter_destination/Area"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
|
||||
|
||||
[node name="residental-house-stair" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -9 )
|
||||
|
||||
[node name="residental-house5" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
|
||||
|
||||
[node name="1" type="Spatial" parent="LOD"]
|
||||
visible = false
|
||||
|
||||
Reference in New Issue
Block a user