death camera mostly working
This commit is contained in:
@@ -6,8 +6,10 @@
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_ic2ps"]
|
||||
font = ExtResource("1_7a4sr")
|
||||
font_size = 500
|
||||
outline_color = Color(1, 1, 1, 0.498039)
|
||||
|
||||
[node name="PickupAnnounce" type="Label"]
|
||||
visible = false
|
||||
offset_right = 3440.0
|
||||
offset_bottom = 1440.0
|
||||
size_flags_horizontal = 3
|
||||
|
||||
11
assets/dead_cam.tscn
Normal file
11
assets/dead_cam.tscn
Normal file
@@ -0,0 +1,11 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://by7qyyhyurlw"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/dead_cam.gd" id="1_qxtd8"]
|
||||
|
||||
[node name="DeadCam" type="Node3D"]
|
||||
script = ExtResource("1_qxtd8")
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="."]
|
||||
|
||||
[node name="LookRay" type="RayCast3D" parent="."]
|
||||
target_position = Vector3(0, 0, -1)
|
||||
@@ -40,7 +40,6 @@ dead_player = ExtResource("2_4hoys")
|
||||
SENSITIVITY = 0.008
|
||||
BOB_AMP = 0.085
|
||||
weapon_holder = NodePath("Head/Camera3D/WeaponHolder")
|
||||
weapon_sway_amount = 0.5
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
visible = false
|
||||
|
||||
Reference in New Issue
Block a user