[gd_scene load_steps=5 format=3 uid="uid://da6lkdiskdh8v"] [sub_resource type="GDScript" id="GDScript_tbkod"] script/source = "extends Node3D # Called when the node enters the scene tree for the first time. func _ready() -> void: self.rotation_degrees.x += randf_range(-20, 20) self.rotation_degrees.y += randf_range(-20, 20) self.rotation_degrees.z += randf_range(-20, 20) $Wood/Leaves.rotation_degrees.x += randf_range(-5, 5) $Wood/Leaves.rotation_degrees.y += randf_range(-5, 5) $Wood/Leaves.rotation_degrees.z += randf_range(-5, 5) " [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7cavb"] vertex_color_use_as_albedo = true albedo_color = Color(0.664716, 0.454725, 0.320446, 1) metallic = 0.1 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_710rn"] vertex_color_use_as_albedo = true albedo_color = Color(0.345711, 0.13893, 0.0174745, 1) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_0x135"] vertex_color_use_as_albedo = true albedo_color = Color(0.212217, 0.468618, 0, 1) [node name="Tree" type="Node3D"] physics_interpolation_mode = 2 script = SubResource("GDScript_tbkod") [node name="Dirt" type="CSGBox3D" parent="."] material = SubResource("StandardMaterial3D_7cavb") [node name="Wood" type="CSGCylinder3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, 0) radius = 0.3 height = 4.0 material = SubResource("StandardMaterial3D_710rn") [node name="Leaves" type="CSGCylinder3D" parent="Wood"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.81654, 0) radius = 2.0 height = 4.0 cone = true material = SubResource("StandardMaterial3D_0x135")