Adding basic floor without any material

This commit is contained in:
yannk 2022-01-20 12:13:29 +01:00
parent ebbd5ad9b0
commit 3ec563ff40
3 changed files with 17 additions and 0 deletions

9
basic_setup.tscn Normal file
View file

@ -0,0 +1,9 @@
[gd_scene load_steps=2 format=3 uid="uid://dhqay3umgle6c"]
[sub_resource type="BoxMesh" id="BoxMesh_k23th"]
[node name="basic_setup" type="Node3D"]
[node name="floor" type="MeshInstance3D" parent="."]
transform = Transform3D(10, 0, 0, 0, 0.1, 0, 0, 0, 10, 0, -0.05, 0)
mesh = SubResource( "BoxMesh_k23th" )

7
main.tscn Normal file
View file

@ -0,0 +1,7 @@
[gd_scene load_steps=2 format=3 uid="uid://cem7wppuuoabv"]
[ext_resource type="PackedScene" uid="uid://dhqay3umgle6c" path="res://basic_setup.tscn" id="1_s50i7"]
[node name="Node3D" type="Node3D"]
[node name="basic_setup" parent="." instance=ExtResource( "1_s50i7" )]

View file

@ -11,5 +11,6 @@ config_version=5
[application]
config/name="DevScene"
run/main_scene="res://main.tscn"
config/icon="res://icon.png"
config/features=PackedStringArray("4.0", "Vulkan Clustered")