sure, i should be around later to test things out. much appreciated.
Try the debug script, you should get a message to your console every time a sound plays.
Like I said, let me know if you get extra debugs when you stop walking.
i placed the debug scrip in, and do get the debug message (and step sounds) after stop walking.
I’m making the adjustments in C# now. Hope it works.
@itsmars works great! fixed the issue.
thanks so much. i owe you a beer or beverage of your choice!
I use Legacy Animation, there is no decision on the Footsteps for this animation system?
It wasn’t meant to be used with the Legacy Animation system, however it might work;
all we’re really doing is just Keyframing sounds when your foot touches the ground.
If you open the Animation window (Ctrl+6) your animations will likely be read-only.
I read online, a long time ago, if you do some sort of copy-paste magic, the animations will no longer be read-only.
Then, you would be able to add a keyframe, and call the function/method “FootstepLeft” and “FootstepRight” when your feet touch the ground.
You really helped me! Specify call functions from a script, you can even if the animation is read-only!
P.S. If you want to still edit the animation, you just need to find a clip in fbx object and press Ctrl + D.
Could you send your footstep particle FX, please ?
I cannot; I bought them off of the Unity Asset Store.
There are, however, many free Particle Systems on the Asset Store.
I have a funny problem. Been trying for two days and can’t find a cause or a way around it.
I have two cameras on my player, the normal third person camera, and the second a camera just in front of the player.
Then I have this to switch between the two cameras.
So, when my player starts talking to an NPC, it switches to a close up view of the person he is talking to.
When he stops the interaction, it switches back to the third person camera.
Everything is working fine, except that when I stop the interaction, and switch back to the third person camera, it plays the water footstep sound. Previously when I tried this, it was playing a different footstep sound.
I can’t seem to figure out why the sound plays, or how to stop it. I can’t move the audio source for either the footsteps or Unistorm (I thought it might be a conflict with Unistorm, which uses the same audio source).
Any ideas why the sound plays? Any ideas of how to solve this?
If I could adjust the zoom distance without switching cameras, it would solve this problem, but I couldn’t get this to work:
Ok, so for now, this is what I have got. The camera zooms in and looks at the NPC, the only problem is that you actually have to turn the scroll wheel to activate this. When you stop talking to the NPC, you have to turn the scroll wheel to get your camera back to it’s proper settings, so this is not the ideal solution.
OK, I found the problem. It was AQUAS causing the problem. It was not the footsteps water sound but the splash sound from AQUAS, which sounds the same.
Still don’t know why it plays the sound but I found a workaround.