Stabilize exported fishing rod attachment
This commit is contained in:
parent
d6cff0a23c
commit
6b7ef4c11b
3 changed files with 49 additions and 34 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=18 format=3]
|
||||
[gd_scene load_steps=16 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://player/player.gd" id="1_script"]
|
||||
[ext_resource type="Script" path="res://inventory/fish_inventory.gd" id="2_inventory"]
|
||||
|
|
@ -18,15 +18,6 @@
|
|||
radius = 0.45
|
||||
height = 1.8
|
||||
|
||||
[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
|
||||
|
||||
[sub_resource type="QuadMesh" id="GroundShadowMesh"]
|
||||
material = ExtResource("12_blob_shadow")
|
||||
size = Vector2(1.15, 0.72)
|
||||
|
|
@ -68,22 +59,6 @@ rotation_degrees = Vector3(0, 180, 0)
|
|||
[node name="AnimationPlayer" parent="Visuals/CharacterRig"]
|
||||
autoplay = "idle"
|
||||
|
||||
[node name="FishingRodAttachment" type="BoneAttachment3D" parent="Visuals/CharacterRig/CharacterRig/Skeleton3D"]
|
||||
bone_name = "hand.R"
|
||||
|
||||
[node name="FishingRod" type="Node3D" parent="Visuals/CharacterRig/CharacterRig/Skeleton3D/FishingRodAttachment"]
|
||||
unique_name_in_owner = true
|
||||
rotation = Vector3(-0.785398, -0.007863, 3.141593)
|
||||
|
||||
[node name="RodMesh" type="MeshInstance3D" parent="Visuals/CharacterRig/CharacterRig/Skeleton3D/FishingRodAttachment/FishingRod"]
|
||||
position = Vector3(0, 0.42, 0)
|
||||
mesh = SubResource("FishingRodMesh")
|
||||
material_override = SubResource("FishingRodMaterial")
|
||||
|
||||
[node name="FishingRodTip" type="Marker3D" parent="Visuals/CharacterRig/CharacterRig/Skeleton3D/FishingRodAttachment/FishingRod"]
|
||||
unique_name_in_owner = true
|
||||
position = Vector3(0, 0.95, 0)
|
||||
|
||||
[node name="CastOrigin" type="Marker3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
position = Vector3(0, 0.9, 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue