Godot 4.3 migration and jolt physics engine install
This commit is contained in:
@@ -21,4 +21,3 @@ func _ready():
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
pass
|
||||
|
||||
|
||||
@@ -297,5 +297,3 @@ func weapon_bob(vel : float, delta):
|
||||
func weapon_recoil(delta):
|
||||
var recoil_to = camera.rotation.x + gun.recoil_amount
|
||||
camera.rotation.x = clamp(lerp(camera.rotation.x,recoil_to, .05), deg_to_rad(-90), deg_to_rad(85))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user