@@ -39,7 +39,7 @@ func _process(delta):
|
||||
position += transform.basis * Vector3(0, 0, -bullet_speed) * delta
|
||||
rotation.x = clamp(rotation.x - delta * bullet_drop,deg_to_rad(-90),deg_to_rad(90))
|
||||
|
||||
await get_tree().create_timer(.02 * (bullet_speed/150)).timeout
|
||||
await get_tree().create_timer(.02 * Engine.time_scale * (150/bullet_speed)).timeout
|
||||
visible = true
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user