Improved tree placement

This commit is contained in:
2024-02-17 23:17:35 +01:00
parent 2bc4200f5b
commit cf876a0ab8
9 changed files with 120 additions and 31 deletions

View File

@ -0,0 +1,15 @@
[gd_scene load_steps=3 format=3 uid="uid://tr0tn0pkr1ea"]
[ext_resource type="PackedScene" uid="uid://8rgrrx6wbdvf" path="res://assets/tree/Callistemon.blend" id="1_ngx2x"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_6f3jh"]
height = 1.5
radius = 0.25
[node name="Callistemon" instance=ExtResource("1_ngx2x")]
[node name="StaticBody3D" type="StaticBody3D" parent="." index="1"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="0"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 0)
shape = SubResource("CylinderShape3D_6f3jh")

View File

@ -0,0 +1,7 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://dw754wh1xcwgr"]
[resource]
resource_name = "Leaves"
cull_mode = 2
albedo_color = Color(0.0780164, 0.910454, 0, 1)
roughness = 0.5

View File

@ -0,0 +1,7 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://cxlib6jo32hxg"]
[resource]
resource_name = "Leaves"
cull_mode = 2
albedo_color = Color(0.85098, 0.909804, 0, 1)
roughness = 0.5

View File

@ -0,0 +1,7 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://c8o7cihkhrqf6"]
[resource]
resource_name = "Leaves"
cull_mode = 2
albedo_color = Color(0.909804, 0.286275, 0, 1)
roughness = 0.5

View File

@ -0,0 +1,4 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://bt6an0ynrpkpt"]
[resource]
albedo_color = Color(0.239216, 0.172549, 0.0470588, 1)