From 51a0664a1c2265adddbf4c42d4eda747c8ea8aaf Mon Sep 17 00:00:00 2001 From: dusoleil Date: Mon, 19 Sep 2022 10:32:24 -0400 Subject: Add Levels of Detail per Chunk --- world/obstacles/Rock.tscn | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 world/obstacles/Rock.tscn (limited to 'world/obstacles/Rock.tscn') diff --git a/world/obstacles/Rock.tscn b/world/obstacles/Rock.tscn deleted file mode 100644 index 819e9a8..0000000 --- a/world/obstacles/Rock.tscn +++ /dev/null @@ -1,32 +0,0 @@ -[gd_scene load_steps=7 format=2] - -[ext_resource path="res://world/obstacles/Rock.gd" type="Script" id=1] -[ext_resource path="res://world/chunk/helper/ChunkedMeshInstance.gd" type="Script" id=2] -[ext_resource path="res://world/obstacles/Rock_mesh.tres" type="PrismMesh" id=3] -[ext_resource path="res://world/obstacles/Rock_mat.tres" type="Material" id=4] - -[sub_resource type="ConvexPolygonShape" id=2] -points = PoolVector3Array( 2.5, -5, 2.5, 2.5, -5, -2.5, -2.5, -5, -2.5, -2.5, -5, 2.5, 0, 5, 2.5, 0, 5, -2.5 ) - -[sub_resource type="CubeMesh" id=9] -size = Vector3( 5, 10, 5 ) - -[node name="Rock" type="StaticBody"] -collision_layer = 8 -collision_mask = 0 -script = ExtResource( 1 ) - -[node name="CollisionShape" type="CollisionShape" parent="."] -shape = SubResource( 2 ) - -[node name="MeshInstance" type="MeshInstance" parent="."] -visible = false -material_override = ExtResource( 4 ) -script = ExtResource( 2 ) -_mesh = ExtResource( 3 ) - -[node name="MeshInstance2" type="MeshInstance" parent="."] -visible = false -material_override = ExtResource( 4 ) -script = ExtResource( 2 ) -_mesh = SubResource( 9 ) -- cgit v1.2.3