124 lines
4.4 KiB
Plaintext
124 lines
4.4 KiB
Plaintext
[gd_scene load_steps=11 format=2]
|
|
|
|
[ext_resource path="res://materials/debug/TreePhysicsGeometry.tres" type="Material" id=1]
|
|
[ext_resource path="res://entities/Tree.cs" type="Script" id=3]
|
|
[ext_resource path="res://assets/KenneySurvivalKit/Models/tree.glb" type="PackedScene" id=4]
|
|
|
|
[sub_resource type="CubeMesh" id=3]
|
|
|
|
[sub_resource type="PrismMesh" id=4]
|
|
|
|
[sub_resource type="Animation" id=7]
|
|
resource_name = "Idle"
|
|
loop = true
|
|
tracks/0/type = "transform"
|
|
tracks/0/path = NodePath("Geometry")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = PoolRealArray( 0, 1, 0, 0, 0, 0, 0, 0, 1, 1.5, 1.00063, 1.49958 )
|
|
|
|
[sub_resource type="Animation" id=6]
|
|
length = 0.001
|
|
tracks/0/type = "bezier"
|
|
tracks/0/path = NodePath("Geometry:rotation_degrees:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"points": PoolRealArray( -10.23, -0.25, 0, 0.25, 0 ),
|
|
"times": PoolRealArray( 0 )
|
|
}
|
|
tracks/1/type = "bezier"
|
|
tracks/1/path = NodePath("Geometry:rotation_degrees:y")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/keys = {
|
|
"points": PoolRealArray( 0, -0.25, 0, 0.25, 0 ),
|
|
"times": PoolRealArray( 0 )
|
|
}
|
|
tracks/2/type = "bezier"
|
|
tracks/2/path = NodePath("Geometry:rotation_degrees:z")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/keys = {
|
|
"points": PoolRealArray( 0, -0.25, 0, 0.25, 0 ),
|
|
"times": PoolRealArray( 0 )
|
|
}
|
|
|
|
[sub_resource type="Animation" id=5]
|
|
resource_name = "TreeShake"
|
|
length = 0.8
|
|
loop = true
|
|
step = 0.05
|
|
tracks/0/type = "transform"
|
|
tracks/0/path = NodePath("Geometry")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = PoolRealArray( 0, 1, 0, 0, 0, 0, 0, 0, 1, 1.5, 1, 1.5, 0.3, 1, 0, 0, 0, 0, 0, 0, 1, 1.5, 1, 1.5, 0.301, 1, 0, 0, 0, 0, 0, 0, 1, 1.5, 0.671551, 1.46936, 0.302, 1, 0, 0, 0, 0, 0, 0, 1, 1.5, 0.647776, 1.48, 0.303, 1, 0, 0, 0, 0, 0, 0, 1, 1.5, 1, 1.5, 0.304, 1, 0, 0, 0, 0, 0, 0, 1, 1.5, 1.00045, 1.4997, 0.6, 1, 0, 0, 0, 0, 0, 0, 1, 1.5, 1, 1.5 )
|
|
tracks/1/type = "bezier"
|
|
tracks/1/path = NodePath("Geometry:rotation_degrees:x")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/keys = {
|
|
"points": PoolRealArray( 7.4006, -0.05, -6.00801, 0.05, 6.00801, 16.7033, -0.05, -0.232568, 0.05, 0.232568, -11.011, -0.05, -0.833332, 0.05, 0.833332, 7.7294, -0.05, 0.833333, 0.05, -0.833333, -5.77825, -0.05, 0.232568, 0.05, -0.232568, 4.10589, -0.05, 0.465136, 0.05, -0.465136, -0.157859, -0.1, 0, 0.1, 0 ),
|
|
"times": PoolRealArray( 0, 0.05, 0.15, 0.3, 0.4, 0.5, 0.6 )
|
|
}
|
|
|
|
[sub_resource type="CapsuleShape" id=9]
|
|
radius = 0.33
|
|
height = 0.922
|
|
|
|
[sub_resource type="CapsuleMesh" id=8]
|
|
radius = 0.33
|
|
mid_height = 0.925
|
|
|
|
[node name="Tree" type="StaticBody"]
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="MountPoint" type="Spatial" parent="."]
|
|
transform = Transform( -0.524001, 0, -0.851718, 0, 1, 0, 0.851718, 0, -0.524001, 0.717306, 0, 0.400936 )
|
|
|
|
[node name="Arrow" type="Spatial" parent="MountPoint"]
|
|
transform = Transform( -1, 0, -8.74227e-08, 0, 1, 0, 8.74227e-08, 0, -1, 2.38419e-07, 0, 0 )
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="MountPoint/Arrow"]
|
|
transform = Transform( -0.1, 0, -1.24676e-08, 0, 0.1, 0, 1.24676e-08, 0, -0.1, 0, 0, 0.0394838 )
|
|
mesh = SubResource( 3 )
|
|
skeleton = NodePath("../..")
|
|
|
|
[node name="MeshInstance2" type="MeshInstance" parent="MountPoint/Arrow"]
|
|
transform = Transform( -0.1, -1.24676e-08, 6.04182e-16, 0, -4.37114e-09, -0.1, 1.24676e-08, -0.1, 4.37114e-09, 0, 0, -0.151838 )
|
|
mesh = SubResource( 4 )
|
|
skeleton = NodePath("../..")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
anims/Idle = SubResource( 7 )
|
|
anims/RESET = SubResource( 6 )
|
|
anims/TreeShake = SubResource( 5 )
|
|
|
|
[node name="Geometry" parent="." groups=["GameGeometry"] instance=ExtResource( 4 )]
|
|
transform = Transform( 1.5, 0, 0, 0, 0.984723, 0.266325, 0, -0.177712, 1.47574, 0, 0, 0 )
|
|
visible = false
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 )
|
|
shape = SubResource( 9 )
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="CollisionShape" groups=["PhysicsGeometry"]]
|
|
mesh = SubResource( 8 )
|
|
skeleton = NodePath("")
|
|
material/0 = ExtResource( 1 )
|
|
|
|
[editable path="Geometry"]
|