0 votes

Hi! So i'm prototyping a fps character controller, but I want to make the footsteps sound accelerate with the character acceleration. I've tried something like that:
        distance += HVelocity.Length();
//this emit the signal to call a random sound
                distance = 0;
It works... more or less, but the sound doesn't play while my character is decelerating and as you can see, the footstep sound only plays when the distance reaches the desired number. Has anyone some suggestions how can I do this? I can't do animations cause i'm blind, so 0 animations for me. thank you.

Godot version 3.2.4 rc1
in Engine by (14 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.