Hi guys, I need your help.
I have some troubles with the AnimGraph. I’ve created a new slot named “Die”, to make the player dies.
But the problem is that after the death animation, the player resuscitates ^^
AnimGraph : http://prntscr.com/7vzp0s
EventGraph : http://prntscr.com/7vzrfr
Function : http://prntscr.com/7vzrmu
YouTube link : - YouTube
Why does the player resuscitates ?
I think the problem is the AnimGraph.
Well thanks for your answer
I understand what you mean, but how can I kill the player without destroy the skeletal mesh ?
I dont see you “Killing” the player? you just play a die animation, at the end of which it will go back to the default idle animation.
You could pause the animation at the end and then remove the controller from the character, so they can no longer move.
Stopping the animation at the end: https://answers.unrealengine.com/questions/214714/stop-animation-at-end.html
Put this in your characters BP to remove the controller: http://i.imgur.com/JunQb9m.png
Ok thanks ! I’ve found a way to not destroy the skeletal mesh : http://prntscr.com/7w3sz4
But the problem is the death animation. It doesn’t looping : http://prntscr.com/7w3tsb (look at the ‘Loop count’ on right)
@MrGrr is right, the player goes back to the default idle animation after the death animation. But how can I stop the default idle animation ?