I am creating a 2D game (primarily through C++ programming, no blueprints) and will have several actors on the screen whose visual representation is through a Paper Flipbook Component.
I would like to have the animation of the various actors synrchonized. What I mean by this is that the animations are all the same length and it would be more visually appealing if the animations are all in phase with respect to one another. Is there any Unreal Engine feature to facilitate maintaining synchronization of animations between a number of actors? I was not able to find anything that seemed promising when doing my own search for Unreal Engine features that would assist in this.
My best guess as to how this may be done without the assitance of the engine (if that’s not possible) is to simply have a piece of code which iterates over the actors whose flipbooks I’d like syncronized and just start each flipbook animation at the start with UPaperFlipbookComponent::PlayFromStart(). And then I just hope that this occurs fast enough that the first and last flipbooks to be started are close enough to in sync. Since I’d just be hoping this works though and it almost certainly wouldn’t with enough actors, I’d love to hear any other ideas that may be more likely to guarantee synchronization.
Thanks for any help or ideas.