update visual, add stones collision

This commit is contained in:
Nikolay Fedorov
2026-04-22 21:26:16 +03:00
parent 663d532c88
commit f5f9bc6858
27 changed files with 161451 additions and 5380 deletions
+6 -10
View File
@@ -1,11 +1,7 @@
[gd_scene format=3 uid="uid://c3sticlaxmn1p"]
[ext_resource type="Script" path="res://scripts/Stick.gd" id="1_stick"]
[sub_resource type="CylinderMesh" id="CylinderMesh_1"]
top_radius = 0.06
bottom_radius = 0.06
height = 0.65
[ext_resource type="Script" uid="uid://ceo530cbtsr6e" path="res://scripts/Stick.gd" id="1_stick"]
[ext_resource type="ArrayMesh" uid="uid://tvrgdxmep0dl" path="res://assets/stick.obj" id="2_urm7b"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1"]
albedo_color = Color(0.55, 0.38, 0.18, 1)
@@ -15,14 +11,14 @@ roughness = 0.95
radius = 0.07
height = 0.65
[node name="Stick" type="CharacterBody3D"]
[node name="Stick" type="CharacterBody3D" unique_id=1893805391]
script = ExtResource("1_stick")
[node name="StickMesh" type="MeshInstance3D" parent="."]
[node name="StickMesh" type="MeshInstance3D" parent="." unique_id=1850002866]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.32, 0)
mesh = SubResource("CylinderMesh_1")
material_override = SubResource("StandardMaterial3D_1")
mesh = ExtResource("2_urm7b")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=653008437]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.32, 0)
shape = SubResource("CapsuleShape3D_1")