netfishing/player/fishing_rod_attachment.tscn

29 lines
919 B
Text

[gd_scene load_steps=4 format=3]
[ext_resource type="Script" path="res://player/tool_socket_attachment.gd" id="1_socket"]
[sub_resource type="CylinderMesh" id="FishingRodMesh"]
top_radius = 0.025
bottom_radius = 0.045
height = 1.2
[sub_resource type="StandardMaterial3D" id="FishingRodMaterial"]
albedo_color = Color(0.22, 0.12, 0.06, 1)
roughness = 0.8
[node name="FishingRodAttachment" type="BoneAttachment3D"]
bone_name = "rod_socket"
script = ExtResource("1_socket")
aligned_mount_path = NodePath("FishingRod")
[node name="FishingRod" type="Node3D" parent="."]
[node name="FallbackRodMesh" type="MeshInstance3D" parent="FishingRod"]
position = Vector3(0, 0.5, 0)
mesh = SubResource("FishingRodMesh")
material_override = SubResource("FishingRodMaterial")
[node name="ModelMount" type="Node3D" parent="FishingRod"]
[node name="FishingRodTip" type="Marker3D" parent="FishingRod"]
position = Vector3(0, 1.1, 0)