unity manual quote:
Can you add animation events to Mecanim?
This is high in our priorities for future development. For the time being, we suggest using additional animation curves to simulate events approximately. Although this technique doesn’t recreate events exactly, many of our users have reported it as useful.
Play maker details
Currently using
Movement : This FSM controls the player movement and targeting using the axis vector and feeding it to the
character controller move vector.
Mecanim : This FSM feeds the Player mecanim animator with speed data and trigger data. It watches the
character controller velocity and feeds to the mecanim animator. The mecanim animator uses this data to
switch from idle to running states.
speed is the variable used, with this open in the inspector and playing the value goes from 0 - 5
The animation in use is running Details:
0.0 - 12.0 @ 30fps
Question: How would you setup an FSM to play a single footstep sound for when each foot should be touching the ground based on the input from the user?
I am using FPS PlayMaker Kit with some minor changes.