extends RigidBody3D
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass
func _unhandled_input(event):
if event is InputEventKey and event.pressed:
if event.keycode == KEY_E:
apply_impulse(Vector3(0,110,0))
$AudioStreamPlayer3D.play()
pass
No hay comentarios:
Publicar un comentario