Animations Failing To Play
This week we were working on getting the player to play a death animation and then respawn at the bed at the farm.
At first we tried playing the animation via a Dynamic Montage slot but for some reason the Anim Notify was not firing. From what I could tell, all the blending and what not prior to the slot was interfering with the overall animation, preventing the Anim Notify from being reached towards the end of the death animation.
By creating a State Machine solely for the death animation, I was able to get the animation to play correctly.
(Above: The state machine overall, Below: Inside the Dead state)
After that it was just a matter of turning the IsDead bool true or false. The best part is the way in which the Player Character and its ABP are written, the player character will return to life on respawn without having to manually change the IsDead bool back to true.
(Above: Dying to a Stone Enemy, Below: Respawning at the temporary bed on the Farm)
Just A Simple Farming Game
Status | In development |
Authors | Golden Goblins, SeotatopDehsam, MOOster_MOO, WendigoCrypt, zoleda_davila, SenorCarlito, thackattack42 |
Genre | Simulation |
Tags | Action-Adventure, Farming, Third Person |
More posts
- Sneak Peek: Farm CutsceneMar 19, 2024
- Fine-tuning Enemy AIMar 01, 2024
- Major Perforce IssuesMar 01, 2024
- Getting Random Location In a NavMeshFeb 29, 2024
- Issues with Testing Spawn PointsFeb 29, 2024
- Double Use of Seed ItemsFeb 25, 2024
- NavMesh not updatingFeb 24, 2024
- Issues with Player LocationFeb 23, 2024
- Foundations of Enemies and AnimationsFeb 17, 2024
Leave a comment
Log in with itch.io to leave a comment.