mostly finished revolver rig and script

This commit is contained in:
derek
2024-07-16 11:58:16 -05:00
parent 2b5e63a1ec
commit 3592386aac
13 changed files with 1304 additions and 82 deletions

View File

@@ -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).timeout
await get_tree().create_timer(.02 * Engine.time_scale * (150/bullet_speed)).timeout
visible = true