3D FBX animation appear, play, rewind..disappear..
Hi there,
I'm testing an animation out at the moment which essentially appears, plays and disappears all triggered with Mouth Open and closed.
It works, but wanted to make it better.
I'd like it to appear, play on mouth open and then rewind to the start and then disappear. In the middle of this I'd like it to be on an idle animation until closed mouth.
It's a FBX animation from Blender.


Any help would be much appreciated. I'm a total newbie at this so my scripting knowledge isn't that deep!
Best,
Rich
Hi, Richard!
Looks like Behavior Script can fulfil your needs
At first set your animation mixer to have three animations. First is the one you want to be played on mouse open (in my example frames 0 - 25) and second one is idle (frames 26-61)
Then create revesed animation (press AddClip) and then follow steps on a gif:
Then please check out this project, There are several behavior scripts responsible for the scenario:
1. Mouth open:
2. On open animation finished idle animation is played in a loop:
3. On MouthClosed idle is stopped and close is played
Let me know if there are any questions!
Best
Olha
Many thanks for your response Olha. That's all good :)
Hello @Olha,
Is it possible to used the same method with a marker lens ? I need to launch different animations but I'm not able to start and stop them. They running in loop. I
By advance thanks
Hi, Takinours!
Yes, this method should work. Just use on MarkerFound and onMarkerLost functions in the Behavior scripts. But in case if you will have to stop all other animations when playing the next one.
I will create a ticket from this question, so feel free to share your project
Best
Olha