tweaks to crouch etc
This commit is contained in:
@@ -27,7 +27,6 @@ func _ready():
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _physics_process(delta):
|
||||
|
||||
linear_velocity = transform.basis * Vector3(0, 0, -bullet_speed)
|
||||
|
||||
if bullet_target != null:
|
||||
@@ -65,7 +64,4 @@ func _on_body_entered(body: Node) -> void:
|
||||
despawn()
|
||||
|
||||
func despawn():
|
||||
#visible = false
|
||||
#collision_shape.disabled = true
|
||||
#await get_tree().create_timer(1).timeout
|
||||
queue_free()
|
||||
|
||||
Reference in New Issue
Block a user