0
Answered

How to play seamless animation from a character?

clisson 1 month ago in Game Creator updated by Marti (Lead Developer) 1 month ago 1

I've tried call the Character Gesture Action to play the selected animation on the desired character in different methods(e.g. checked looptime in animation, restart the action, calling multiple times..and etc) but they always return back to the default idle/standing poses before the next animation. Is there a way to let it play seamlessly?

Unity version:
2019.2.8f1
Game Creator version:
1.0.3

Answer

Answer
Answered

The Gesture action has "Wait Til Complete" checkbox. This allows the Action to be put on hold until the entire animation clip is completed. If you want start playing another Gesture right before the first one finishes, you could untick that checkbox and add a "Wait" action that waits the length of the first gesture minus 0.1 seconds, and play the second Gesture.

Bear in mind that Gestures don't take into account whether an animation is looped or not. If you want to play an animation that is looped (like sitting on a chair) you should be using a State. Check out the documentation for more information about these: https://docs.gamecreator.io/game-creator/game-creator/characters/states

Cheers!

GOOD, I'M SATISFIED
Satisfaction mark by clisson 4 weeks ago
Answer
Answered

The Gesture action has "Wait Til Complete" checkbox. This allows the Action to be put on hold until the entire animation clip is completed. If you want start playing another Gesture right before the first one finishes, you could untick that checkbox and add a "Wait" action that waits the length of the first gesture minus 0.1 seconds, and play the second Gesture.

Bear in mind that Gestures don't take into account whether an animation is looped or not. If you want to play an animation that is looped (like sitting on a chair) you should be using a State. Check out the documentation for more information about these: https://docs.gamecreator.io/game-creator/game-creator/characters/states

Cheers!