How to make choppy animations

Hey there, if i understand you want to have the statues to do different poses when the player leaves and enters the area. If that’s the case why not have a lot of single frame animations and when the player enters the area you just random a pose or pick the next one in the list? If you dont want that, you can try to implement a logic that the statues only animate when they are not being seen, if they are seen then they pause the animation where they are.

I want to have a system that I can trigger and it change the animation of the character by one frame. Think something like the weeping angels from doctor who, I want the player to walk through a hallway with statues and when the player leaves (or enters) I trigger the animation and they change so the next time the player goes through the hallway it’s different.

I haven’t worked with animations before, I think you make key frame and the engine makes frames in between. I don’t want that, I just want to cycle through poses. I don’t have my own mesh and animations yet so I was thinking of using the ones from the third person template to test what I want. I was hoping someone could tell me how to do this to the third person template. I’m using C++ but if you can explain the steps in blueprint that would still be useful.

Side note I might make the statues move at one point but right now I just want to know how to set up the animations.

Thanks

To do single frame animations you duplicate the main animation and open it. From there pick the frame you want to use from the bottom slider then you right click there and select Remove from frame X to frame Y or pick Remove Remove frame 0 to frame X, depending of the direction you want to cut. Repeat the process for every different frame you want to have.

Ya ok that sounds good but I don’t know how to do that. I said I haven’t worked with animations before. I brought up the third person template hoping someone could tell me the main steps to change it because everyone has it. Like how do I turn the animations in the template into single frame animations. How to I switch between them.

I guess I have to look up more tutorials and hope I find some I can understand but thank you for giving me a place to start.

Hey thanks for telling me what to do, I’ve been busy doing other stuff so I didn’t get to doing it until recently. I got all the poses I wanted, put them in an animation blueprint and used something called blend by int to switch between them. I brought it into my project and in the character blueprint I set the int from my c++ class to the int I have in the animation blueprint.

The one thing is I’m updating the int in tick will that effect performance? is there a way to sync the c++ with the animations that would only happen when it changes, not every tick. Either way it looks exactly like I wanted, thank you for your help.

I assume you update it on the Animation Blueprint Update event, which is kind of like tick. If you are just getting values and not doing heavy stuff there it should be fine.