How to trigger complete animation after interaction stop?

yyycct

New member
Hello,

We are trying to add a sitting interaction to our project, and pressing action button will trigger the sit animation and sitting idle animation. When the player press action button again, we want to trigger the stand up animation and transition into idle. We were able the animation into the interact layer of animator, and triggering the animation when ability starts, however we could not find a way to trigger the stand up animation after ability stops, is there any suggestion for triggering this animation?
Thank you so much for the help!
 
You could potentially do something with transitions/states within the animator controller, but for this situation I recommend either building the functionality into your sit ability or create a new ability that has the player stand.
 
Thanks Justin for your quick replay, we are still little lost on how to stop the sit ability manually, and still keep the seating idle animation.
 
Update: I was able to make it work by adding the functionality into sit ability and trigging stop ability manually after stand up animation finishes.
 
Top