simplified ledge grab
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user