feat: added weapon muzzle to player character

This commit is contained in:
Sara 2024-03-20 09:51:54 +01:00
parent a821f36692
commit cc1dad597b

View file

@ -25,6 +25,8 @@ collision_layer = 7
[node name="Health" type="Health" parent="."] [node name="Health" type="Health" parent="."]
max_health = 5 max_health = 5
[node name="ProjectilePool" type="ProjectilePool" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="."] [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.802835, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.802835, 0)
shape = SubResource("CapsuleShape3D_3g72p") shape = SubResource("CapsuleShape3D_3g72p")
@ -40,3 +42,6 @@ surface_material_override/0 = SubResource("StandardMaterial3D_scmx3")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.509142, 0.986876, 0.380722) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.509142, 0.986876, 0.380722)
mesh = SubResource("BoxMesh_f5yvh") mesh = SubResource("BoxMesh_f5yvh")
surface_material_override/0 = SubResource("StandardMaterial3D_scmx3") surface_material_override/0 = SubResource("StandardMaterial3D_scmx3")
[node name="WeaponMuzzle" type="WeaponMuzzle" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.53551, 0.931313, 0)