mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
This adds the entity's velocity as an argument when mapping the movement state to an SFX event, and prevents the run SFX from being returned if the velocity is below a threshold. This will prevent hearing the run sfx when stuck in a corner, or running into a surface where the character is not actually moving their feet. |
||
---|---|---|
.. | ||
anim | ||
audio | ||
ecs | ||
hud | ||
menu | ||
mesh | ||
render | ||
scene | ||
ui | ||
error.rs | ||
key_state.rs | ||
logging.rs | ||
main.rs | ||
session.rs | ||
settings.rs | ||
singleplayer.rs | ||
window.rs |