29 lines
903 B
Plaintext
29 lines
903 B
Plaintext
[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
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1"]
|
|
albedo_color = Color(0.55, 0.38, 0.18, 1)
|
|
roughness = 0.95
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_1"]
|
|
radius = 0.07
|
|
height = 0.65
|
|
|
|
[node name="Stick" type="CharacterBody3D"]
|
|
script = ExtResource("1_stick")
|
|
|
|
[node name="StickMesh" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.32, 0)
|
|
mesh = SubResource("CylinderMesh_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.32, 0)
|
|
shape = SubResource("CapsuleShape3D_1")
|