improved recoil, fixing bounce
This commit is contained in:
@@ -94,7 +94,8 @@ func shoot(delta):
|
||||
hitscan_fire()
|
||||
spawn_casing()
|
||||
|
||||
player.recoil.add_recoil(recoil_amount,10,10)
|
||||
player.recoil.add_recoil(Vector3(0,recoil_amount.y,recoil_amount.z),10,10)
|
||||
player.recoil.add_gun_recoil(recoil_amount.x)
|
||||
if fire_mode != 0:
|
||||
cycle_count -= 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user