Is there a function to check if the player is currently moving or has stopped movement? I want to have random custom idle animations running and so far got that working by switching the standard idle animation through action lists, but would like to get it back to the standard one when the player continues moving.
Comments
if (AC.KickStarter.player.charState == CharState.Idle)
{
//
}
Probably easier to use Mecanim animation if you want to alter the idle animation, as you can wire up your Animator component to play different animations based on e.g. an integer parameter.