Hello,
i have this animation where the character draws a sword and one where he puts it away.
but they keep playing?!
when i start the game up it puts the sword back on his back nice and smooth but when i draw it again(enter combat state) it loops but very unsmooth (it has no loop frame) and when i put it back the same happens.
hope you can help me
the code:
function Update () {
if(PlayerStates.currentState == CharStates.normal){
if(swordDraw == true){
swordDraw = false;
SwordDraw();
}
else if(PlayerStates.currentState == CharStates.combat){
if(swordDraw == false){
swordDraw = true;
SwordShede();
}