retrace/Characters/Player/Footsteps.gd
karl 1cf65caed8 Add footstep sound effect and animation
Sound is linked to Animation so it always plays when the camera nods
down
2019-11-20 23:52:11 +01:00

10 lines
105 B
GDScript

extends Spatial
onready var steps = [
get_node("Footstep1")
]
func play_footstep():
steps[0].play()