tweaks to mac 10 and gun look control

This commit is contained in:
derek
2025-04-10 10:53:41 -05:00
parent 5d116b1a20
commit 65677d8d3a
4 changed files with 6 additions and 5 deletions

View File

@@ -697,8 +697,9 @@ func weapon_tilt(input_x, delta):
func weapon_sway(delta):
#aim gun at center screen
if !gun_ray.is_colliding():
gun.look_at(gun_look_target.global_position)
if gun != null:
if !gun_ray.is_colliding():
gun.look_at(gun_look_target.global_position)
#apply sway
if !ads: