43 lines
1.6 KiB
Plaintext
43 lines
1.6 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://kslywe6neejo"]
|
|
|
|
[ext_resource type="Script" path="res://entities/resources/collectable_resource.gd" id="1_ybx4f"]
|
|
[ext_resource type="PackedScene" uid="uid://rheyik3n6qia" path="res://assets/fbx/rock.fbx" id="2_uwrg3"]
|
|
[ext_resource type="Texture2D" uid="uid://iftvude25iw" path="res://assets/textures/icons/stoneicon.png" id="3_uq1d7"]
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_2ifhi"]
|
|
radius = 1.9217
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_gjw2c"]
|
|
radius = 2.0
|
|
|
|
[node name="StoneResource" type="StaticBody3D" groups=["NavmeshTargets"]]
|
|
script = ExtResource("1_ybx4f")
|
|
type = 1
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
autostart = true
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.845515, 0)
|
|
shape = SubResource("SphereShape3D_2ifhi")
|
|
|
|
[node name="rock" parent="." instance=ExtResource("2_uwrg3")]
|
|
transform = Transform3D(0.97435, -0.225036, 0, 0.225036, 0.97435, 0, 0, 0, 1, 0.497189, 0.726997, -2.5003)
|
|
|
|
[node name="Sprite3D2" type="Sprite3D" parent="."]
|
|
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, 0, 20, 0)
|
|
layers = 2
|
|
billboard = 1
|
|
texture = ExtResource("3_uq1d7")
|
|
|
|
[node name="Area3D" type="Area3D" parent="."]
|
|
monitoring = false
|
|
|
|
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Area3D"]
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0.442429, 0)
|
|
shape = SubResource("SphereShape3D_gjw2c")
|
|
|
|
[connection signal="timeout" from="Timer" to="." method="_on_tick"]
|
|
|
|
[editable path="rock"]
|