some juice work on the first person weapon

This commit is contained in:
2026-01-19 16:46:00 +01:00
parent 27c67dbdd9
commit abe6f42a3b
9 changed files with 234 additions and 52 deletions

View File

@@ -1,6 +1,7 @@
[gd_scene load_steps=5 format=3 uid="uid://0ysqmqphq6mq"]
[gd_scene load_steps=6 format=3 uid="uid://0ysqmqphq6mq"]
[ext_resource type="Script" uid="uid://dtkdrnsmlwm67" path="res://systems/head/HeadSystem.cs" id="1_8abgy"]
[ext_resource type="ArrayMesh" uid="uid://ckr26s4e3fj1m" path="res://assets/swords/resources/fp_sword23.tres" id="2_c5qep"]
[sub_resource type="Animation" id="Animation_urko7"]
length = 0.001
@@ -62,6 +63,15 @@ _data = {
[node name="HeadSystem" type="Node3D"]
script = ExtResource("1_8abgy")
[node name="FPRig" type="Node3D" parent="."]
[node name="Sword" type="Node3D" parent="FPRig"]
[node name="SwordMesh" type="MeshInstance3D" parent="FPRig/Sword"]
transform = Transform3D(0.43494374, 0.027831191, -0.9000275, 0.1806065, 0.9765146, 0.117475554, 0.8821594, -0.2136461, 0.41970232, 0.53640664, -0.82246387, -1.9288678)
cast_shadow = 0
mesh = ExtResource("2_c5qep")
[node name="CameraSmooth" type="Node3D" parent="."]
[node name="Camera3D" type="Camera3D" parent="CameraSmooth"]