22 lines
763 B
Text
22 lines
763 B
Text
[gd_scene load_steps=4 format=3 uid="uid://c27fogucecn0r"]
|
|
|
|
[ext_resource type="Script" uid="uid://lcedx3lau6v5" path="res://Entities/Tree/scripts/tree.gd" id="1_702jv"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_s6kdm"]
|
|
radius = 0.2
|
|
height = 0.5
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_702jv"]
|
|
|
|
[node name="Tree" type="Node3D"]
|
|
script = ExtResource("1_702jv")
|
|
|
|
[node name="TreeCollision" type="StaticBody3D" parent="." groups=["tree"]]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="TreeCollision"]
|
|
shape = SubResource("CapsuleShape3D_s6kdm")
|
|
|
|
[node name="InteractRange" type="Area3D" parent="."]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="InteractRange"]
|
|
shape = SubResource("SphereShape3D_702jv")
|