The title isn’t quite clear enough.
I’m new to UE4, and new to programming too (studying C++ these days). I come from an artistic background, but these days I’m learning programming, and primarily using BPs to work with Unreal.
I’m trying to understand how feasible it would be to create a dependency between animation keyframes and the game’s framerate.
To elaborate, I want to create a situation where my animations, instead of being progressed by the passage of time, would be progressed by the rendering of frames.
Each new frame will result in a new animation keyframe being presented.
That way, the speed at which my animations play is entirely dependent on how many frames I’m rendering per second. More frames=faster gameplay.
Frames will only be presented at their “keyframe” value, meaning no interpolations whatsoever, we only see the actual frames that were created in the animation software.
Kinda like what they do in fighting games and japanese spectacle fighters, where framerate is locked and dips/spikes result in slower/faster gameplay.
I’m interested in this because I’d like to be able to have full control over what animation frames are rendered, for consistency in gameplay and timing between different events (a specific frame triggering a specific frame in a different game object).
Reading on this online, I realize this is not really a “thing” in UE4 (or competitors), and to achieve that you’d need to customize the engine. I suspect it would be a pretty heavy task, too… but I’d like to hear some opinions on this.
Also, if anybody here knows of alternative ways to achieve consistency in timing and behavior without guaranteeing specific rendered frames, I’d love to learn.