Showing default HexTile3D geometry. MultiMeshInstance has to wait...

WorldChunkRefactoring
Martin Felis 2023-07-07 17:20:56 +02:00
parent 8010fb3d87
commit 30ef0a3d3e
1 changed files with 1 additions and 18 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=7 format=2] [gd_scene load_steps=5 format=2]
[ext_resource path="res://scenes/HexTile3D.cs" type="Script" id=1] [ext_resource path="res://scenes/HexTile3D.cs" type="Script" id=1]
[ext_resource path="res://materials/HexTileTextureLookup.tres" type="Material" id=2] [ext_resource path="res://materials/HexTileTextureLookup.tres" type="Material" id=2]
@ -8,28 +8,12 @@
height = 1.0 height = 1.0
radius = 0.5 radius = 0.5
[sub_resource type="CylinderMesh" id=7]
material = ExtResource( 2 )
top_radius = 0.5
bottom_radius = 0.5
height = 10.0
radial_segments = 6
rings = 1
[sub_resource type="MultiMesh" id=6]
transform_format = 1
instance_count = 1
visible_instance_count = 1
mesh = SubResource( 7 )
transform_array = PoolVector3Array( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
[node name="HexTile3D" type="Spatial"] [node name="HexTile3D" type="Spatial"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0096302, 0, 0 ) transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0096302, 0, 0 )
script = ExtResource( 1 ) script = ExtResource( 1 )
[node name="Mesh" type="MeshInstance" parent="."] [node name="Mesh" type="MeshInstance" parent="."]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, -5, 0 ) transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, -5, 0 )
visible = false
mesh = ExtResource( 3 ) mesh = ExtResource( 3 )
material/0 = ExtResource( 2 ) material/0 = ExtResource( 2 )
@ -42,4 +26,3 @@ shape = SubResource( 5 )
[node name="MultiMeshInstance" type="MultiMeshInstance" parent="."] [node name="MultiMeshInstance" type="MultiMeshInstance" parent="."]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, -5, 0 ) transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, -5, 0 )
visible = false visible = false
multimesh = SubResource( 6 )