tweaks to mac 10 and gun look control
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user