add stones, pickups

This commit is contained in:
2026-04-22 17:24:11 +03:00
parent 50bbd78463
commit 017fcac3c5
9 changed files with 265 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
[gd_scene format=3 uid="uid://b3rock7gyam2k"]
[ext_resource type="Script" path="res://scripts/Rock.gd" id="1_rock"]
[sub_resource type="SphereMesh" id="SphereMesh_1"]
radius = 0.25
height = 0.5
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1"]
albedo_color = Color(0.45, 0.38, 0.3, 1)
roughness = 1.0
metallic = 0.05
[sub_resource type="SphereShape3D" id="SphereShape3D_1"]
radius = 0.25
[node name="Rock" type="CharacterBody3D"]
script = ExtResource("1_rock")
[node name="RockMesh" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
mesh = SubResource("SphereMesh_1")
material_override = SubResource("StandardMaterial3D_1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
shape = SubResource("SphereShape3D_1")