Hello guys
I was working on footsteps sound
But I got a problem when I stop, the sound does not stop with the player
Because of the time of the audio effect is long
How can I solve this problem
this my script
if is_on_floor() and not foot.playing and dir.z and dir.x != 0 :
foot. Play()
السلام عليكم
لدي مشكلة واجهتني في خطوات اللاعب
ثدرت أخليه يعمل لما أتحرك لكن أذا وقفت الصوت يكمل لين ما يخلص مقطع الصوت
فكيف أحل هذي المشكلة