GodotComponentTest/scenes/HexTile3D.tscn

40 lines
1.3 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=7 format=2]
2022-08-25 15:33:44 +02:00
2022-12-03 21:58:28 +01:00
[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://assets/Environment/HexTileMesh.tres" type="CylinderMesh" id=3]
2022-08-25 15:33:44 +02:00
[sub_resource type="CylinderShape" id=5]
height = 1.0
2022-11-20 20:13:42 +01:00
radius = 0.5
2022-08-25 15:33:44 +02:00
[sub_resource type="CylinderMesh" id=6]
top_radius = 0.5
bottom_radius = 0.5
height = 1.0
radial_segments = 16
[sub_resource type="SpatialMaterial" id=7]
flags_transparent = true
albedo_color = Color( 0.968627, 0.882353, 0.529412, 0.501961 )
2022-08-31 16:43:15 +02:00
[node name="HexTile3D" type="Spatial"]
2022-08-25 15:33:44 +02:00
script = ExtResource( 1 )
[node name="Mesh" type="MeshInstance" parent="." groups=["GameGeometry"]]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, -2.5, 0 )
2023-11-04 19:15:26 +01:00
visible = false
mesh = ExtResource( 3 )
material/0 = ExtResource( 2 )
2022-08-31 16:43:15 +02:00
[node name="StaticBody" type="StaticBody" parent="."]
2022-08-25 15:33:44 +02:00
[node name="CollisionShape" type="CollisionShape" parent="StaticBody"]
transform = Transform( -4.37114e-08, 0, 1, 0, 5, 0, -1, 0, -4.37114e-08, 0, -2.5, 0 )
2022-08-25 15:33:44 +02:00
shape = SubResource( 5 )
[node name="MeshInstance" type="MeshInstance" parent="StaticBody/CollisionShape" groups=["PhysicsGeometry"]]
visible = false
mesh = SubResource( 6 )
material/0 = SubResource( 7 )