Hello, I’m looking for a way to get the current frame of the animation sequence being played by an skeletal mesh. Is this possible?
it gives you the time position in seconds…if you want the exact frame you must add some math after that
1 Like
It doesn’t seem to be working as intended, I have an animation that last 0.30 sec, but when I print the result of Get Position it only gets to 28.301 and that can affect any calculation I do afterwards.
I found a patch for this which involves creating an notify state that last the whole animation and returns an additive value on each tick, which end’s up being the total frame duration of the animation. I don’t like this solution though, because the game must have the same framerate than the original animation for it to work.
(Here I’m saving the current frame value on the character that is executing the action)