simplified ledge grab

This commit is contained in:
derek
2025-06-17 15:28:03 -05:00
parent 227fcd7b2a
commit 56355f0911
6 changed files with 5 additions and 17 deletions

View File

@@ -600,7 +600,7 @@ func focus_on_target():
camera.attributes.dof_blur_near_enabled = false
func weapon_tilt(input, delta):
if input:
if input != null:
if !ads:
if weapon_holder:
weapon_holder.rotation.z = lerp(weapon_holder.rotation.z, -input.x * weapon_rotation_amount * 10, 4 * delta)